#CC86FE#CC86FE
#CC86FE is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.8% C 0.180 H 309.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CC86FE |
|---|---|
| RGB | rgb(204, 134, 254) |
| HSL | hsl(275, 98%, 76%) |
| HSV | hsv(275, 47%, 100%) |
| CMYK | cmyk(19.7%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(67.31, 48.03, -49.59) |
| CIE-LCH | lch(67.31, 69.04, 314.09°) |
| OKLab | oklab(73.8% 0.1144 -0.1384) |
| OKLCH | oklch(73.8% 0.18 309.6) |
| XYZ | xyz(51.3130, 37.0441, 98.1938) |
| Luminance | 0.3704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.52
Light Purple
#BF77F6
ΔE00 4.15
Easter Purple
#C071FE
ΔE00 5.31
Baby Purple
#CA9BF7
ΔE00 5.56
Pastel Purple
#CAA0FF
ΔE00 6.51
Lilac (survey)
#CEA2FD
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC86FE #B8FE86
analogous
#9086FE #CC86FE #FE86F4
triadic
#CC86FE #FECC86 #86FECC
tetradic
#CC86FE #FE9086 #B8FE86 #86F4FE
square
#CC86FE #FE9086 #B8FE86 #86F4FE
split-complementary
#CC86FE #F4FE86 #86FE90
monochromatic
#990DFD #B249FD #CC86FE #E6C3FF #F2E1FF
Accessibility & contrast
On white
2.50
#CC86FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#CC86FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC86FE
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC86FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC86FE | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#C69AB6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cc86fe; /* rgb */ color: rgb(204, 134, 254); /* oklch */ color: oklch(73.8% 0.180 309.6);
Tailwind
colors: {
custom: {
50: '#deabff',
500: '#cc86fe',
950: '#000000',
},
}SCSS
$custom: #cc86fe; $custom-light: #deabff; $custom-dark: #000000;
JSON
{
"hex": "#cc86fe",
"rgb": {
"r": 204,
"g": 134,
"b": 254
},
"hsl": {
"h": 275,
"s": 98.361,
"l": 76.078
},
"oklch": {
"l": 0.738,
"c": 0.17954,
"h": 309.6
},
"luminance": 0.37043
}Semantic roles & 50–950 ramp
primary
#CC86FE
secondary
#E3F7D4
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86