#C8A5FF

A color in the Violet family

#c8a5ff is a color in the Violet family: RGB(200, 165, 255), HSL(263°, 100%, 82%), CMYK(22%, 35%, 0%, 0%). Closest named color: plum. Contrast is 2.04:1 on white and 10.28:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c8a5ff
RGBrgb(200 165 255)
RGB (legacy)rgb(200, 165, 255)
RGB %rgb(78% 65% 100%)
HSLhsl(263 100% 82%)
HSV / HSBhsv(263, 35%, 100%)
HWBhwb(263 65% 0%)
CMYKcmyk(22%, 35%, 0%, 0%)
CIELAB (D50)lab(73.47 26.44 -40.22)
LCHlch(73.47 48.13 303.32)
OKLaboklab(0.7862 0.0675 -0.1108)
OKLCHoklch(0.7862 0.1297 301.37)
Decimal13149695

Properties

Color ToneViolet
Closest named colorplum ΔE 5.6
Closest web-safe color#cc99ff
Hue263°
Saturation (HSL / HSV)100% / 35%
Lightness (HSL)82%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)73% / 70%
Relative luminance (WCAG)0.4641
Red / Green / Blue200 / 165 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.04:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.28:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 39.7 / -62.6 · As background with white / black text: Lc -44.2 / 64.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c8a5ff;
  --color-brand-oklch: oklch(78.62% 0.1297 301.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 165 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8a5ff] text-[#c8a5ff] border-[#c8a5ff]">