#CC86F2#CC86F2
#CC86F2 is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.2% C 0.166 H 312.8°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CC86F2 |
|---|---|
| RGB | rgb(204, 134, 242) |
| HSL | hsl(279, 81%, 74%) |
| HSV | hsv(279, 45%, 95%) |
| CMYK | cmyk(15.7%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(66.75, 45.47, -43.90) |
| CIE-LCH | lch(66.75, 63.21, 316.01°) |
| OKLab | oklab(73.2% 0.1127 -0.1219) |
| OKLCH | oklch(73.2% 0.166 312.8) |
| XYZ | xyz(49.4512, 36.2994, 88.3886) |
| Luminance | 0.3630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.41
Light Purple
#BF77F6
ΔE00 4.64
Baby Purple
#CA9BF7
ΔE00 5.30
Easter Purple
#C071FE
ΔE00 6.11
Violet (CSS)
#EE82EE
ΔE00 6.58
Pastel Purple
#CAA0FF
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC86F2 #ACF286
analogous
#9686F2 #CC86F2 #F286E2
triadic
#CC86F2 #F2CC86 #86F2CC
tetradic
#CC86F2 #F29686 #ACF286 #86E2F2
square
#CC86F2 #F29686 #ACF286 #86E2F2
split-complementary
#CC86F2 #E2F286 #86F296
monochromatic
#9D19E5 #B54FEC #CC86F2 #E3BDF8 #F3E3FC
Accessibility & contrast
On white
2.54
#CC86F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#CC86F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC86F2
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC86F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC86F2 | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#C996B1
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cc86f2; /* rgb */ color: rgb(204, 134, 242); /* oklch */ color: oklch(73.2% 0.166 312.8);
Tailwind
colors: {
custom: {
50: '#ddabf7',
500: '#cc86f2',
950: '#000000',
},
}SCSS
$custom: #cc86f2; $custom-light: #ddabf7; $custom-dark: #000000;
JSON
{
"hex": "#cc86f2",
"rgb": {
"r": 204,
"g": 134,
"b": 242
},
"hsl": {
"h": 278.889,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.73197,
"c": 0.16603,
"h": 312.8
},
"luminance": 0.36298
}Semantic roles & 50–950 ramp
primary
#CC86F2
secondary
#E1F4D7
accent
#DD0953
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85