#CC86FD#CC86FD
#CC86FD is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.7% C 0.178 H 309.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #CC86FD |
|---|---|
| RGB | rgb(204, 134, 253) |
| HSL | hsl(275, 97%, 76%) |
| HSV | hsv(275, 47%, 99%) |
| CMYK | cmyk(19.4%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(67.26, 47.82, -49.12) |
| CIE-LCH | lch(67.26, 68.55, 314.23°) |
| OKLab | oklab(73.75% 0.1143 -0.137) |
| OKLCH | oklch(73.75% 0.178 309.8) |
| XYZ | xyz(51.1533, 36.9802, 97.3526) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.54
Light Purple
#BF77F6
ΔE00 4.15
Easter Purple
#C071FE
ΔE00 5.35
Baby Purple
#CA9BF7
ΔE00 5.52
Pastel Purple
#CAA0FF
ΔE00 6.50
Lilac (survey)
#CEA2FD
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC86FD #B7FD86
analogous
#9086FD #CC86FD #FD86F3
triadic
#CC86FD #FDCC86 #86FDCC
tetradic
#CC86FD #FD9086 #B7FD86 #86F3FD
square
#CC86FD #FD9086 #B7FD86 #86F3FD
split-complementary
#CC86FD #F3FD86 #86FD90
monochromatic
#990EFB #B34AFC #CC86FD #E5C2FE #F2E1FF
Accessibility & contrast
On white
2.50
#CC86FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#CC86FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC86FD
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC86FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC86FD | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#C699B6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cc86fd; /* rgb */ color: rgb(204, 134, 253); /* oklch */ color: oklch(73.7% 0.178 309.8);
Tailwind
colors: {
custom: {
50: '#deabfe',
500: '#cc86fd',
950: '#000000',
},
}SCSS
$custom: #cc86fd; $custom-light: #deabfe; $custom-dark: #000000;
JSON
{
"hex": "#cc86fd",
"rgb": {
"r": 204,
"g": 134,
"b": 253
},
"hsl": {
"h": 275.294,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.73748,
"c": 0.17841,
"h": 309.8
},
"luminance": 0.36979
}Semantic roles & 50–950 ramp
primary
#CC86FD
secondary
#E2F7D4
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86