#CD86FE#CD86FE
#CD86FE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.9% C 0.180 H 310.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CD86FE |
|---|---|
| RGB | rgb(205, 134, 254) |
| HSL | hsl(276, 98%, 76%) |
| HSV | hsv(276, 47%, 100%) |
| CMYK | cmyk(19.3%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(67.42, 48.30, -49.42) |
| CIE-LCH | lch(67.42, 69.10, 314.35°) |
| OKLab | oklab(73.9% 0.1156 -0.1378) |
| OKLCH | oklch(73.9% 0.18 310) |
| XYZ | xyz(51.5880, 37.1859, 98.2067) |
| Luminance | 0.3719 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.63
Light Purple
#BF77F6
ΔE00 4.24
Easter Purple
#C071FE
ΔE00 5.40
Baby Purple
#CA9BF7
ΔE00 5.57
Pastel Purple
#CAA0FF
ΔE00 6.53
Lilac (survey)
#CEA2FD
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD86FE #B7FE86
analogous
#9186FE #CD86FE #FE86F3
triadic
#CD86FE #FECD86 #86FECD
tetradic
#CD86FE #FE9186 #B7FE86 #86F3FE
square
#CD86FE #FE9186 #B7FE86 #86F3FE
split-complementary
#CD86FE #F3FE86 #86FE91
monochromatic
#9B0DFD #B449FD #CD86FE #E6C3FF #F2E1FF
Accessibility & contrast
On white
2.49
#CD86FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#CD86FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD86FE
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD86FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD86FE | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#7DA5FB
Tritanopia (blue-blind)
#C799B6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cd86fe; /* rgb */ color: rgb(205, 134, 254); /* oklch */ color: oklch(73.9% 0.180 310.0);
Tailwind
colors: {
custom: {
50: '#deabff',
500: '#cd86fe',
950: '#000000',
},
}SCSS
$custom: #cd86fe; $custom-light: #deabff; $custom-dark: #000000;
JSON
{
"hex": "#cd86fe",
"rgb": {
"r": 205,
"g": 134,
"b": 254
},
"hsl": {
"h": 275.5,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.73903,
"c": 0.17989,
"h": 310
},
"luminance": 0.37185
}Semantic roles & 50–950 ramp
primary
#CD86FE
secondary
#E2F7D4
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86