#CC86F8#CC86F8
#CC86F8 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.173 H 311.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CC86F8 |
|---|---|
| RGB | rgb(204, 134, 248) |
| HSL | hsl(277, 89%, 75%) |
| HSV | hsv(277, 46%, 97%) |
| CMYK | cmyk(17.7%, 46%, 0%, 2.7%) |
| CIE-LAB | lab(67.03, 46.74, -46.76) |
| CIE-LCH | lch(67.03, 66.12, 314.99°) |
| OKLab | oklab(73.5% 0.1136 -0.1302) |
| OKLCH | oklch(73.5% 0.173 311.1) |
| XYZ | xyz(50.3672, 36.6658, 93.2126) |
| Luminance | 0.3666 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.81
Light Purple
#BF77F6
ΔE00 4.27
Baby Purple
#CA9BF7
ΔE00 5.35
Easter Purple
#C071FE
ΔE00 5.62
Pastel Purple
#CAA0FF
ΔE00 6.53
Lilac (survey)
#CEA2FD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC86F8 #B2F886
analogous
#9386F8 #CC86F8 #F886EB
triadic
#CC86F8 #F8CC86 #86F8CC
tetradic
#CC86F8 #F89386 #B2F886 #86EBF8
square
#CC86F8 #F89386 #B2F886 #86EBF8
split-complementary
#CC86F8 #EBF886 #86F893
monochromatic
#9B12F1 #B44CF5 #CC86F8 #E4C0FB #F3E2FD
Accessibility & contrast
On white
2.52
#CC86F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.33
#CC86F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC86F8
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC86F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC86F8 | 1.00 | 2.52 | 8.33 | 8.33 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA0FC
Deuteranopia (green-blind)
#7FA5F5
Tritanopia (blue-blind)
#C798B3
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cc86f8; /* rgb */ color: rgb(204, 134, 248); /* oklch */ color: oklch(73.5% 0.173 311.1);
Tailwind
colors: {
custom: {
50: '#ddabfb',
500: '#cc86f8',
950: '#000000',
},
}SCSS
$custom: #cc86f8; $custom-light: #ddabfb; $custom-dark: #000000;
JSON
{
"hex": "#cc86f8",
"rgb": {
"r": 204,
"g": 134,
"b": 248
},
"hsl": {
"h": 276.842,
"s": 89.063,
"l": 74.902
},
"oklch": {
"l": 0.73495,
"c": 0.17277,
"h": 311.1
},
"luminance": 0.36665
}Semantic roles & 50–950 ramp
primary
#CC86F8
secondary
#E2F5D6
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85