#C866FC#C866FC
#C866FC is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.7% C 0.224 H 312.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C866FC |
|---|---|
| RGB | rgb(200, 102, 252) |
| HSL | hsl(279, 96%, 69%) |
| HSV | hsv(279, 60%, 99%) |
| CMYK | cmyk(20.6%, 59.5%, 0%, 1.2%) |
| CIE-LAB | lab(60.61, 62.72, -59.15) |
| CIE-LCH | lch(60.61, 86.22, 316.68°) |
| OKLab | oklab(68.74% 0.1502 -0.1662) |
| OKLCH | oklch(68.74% 0.224 312.1) |
| XYZ | xyz(46.1383, 28.8115, 95.2073) |
| Luminance | 0.2881 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.25
Bright Lilac
#C95EFB
ΔE00 1.48
Easter Purple
#C071FE
ΔE00 2.51
Light Purple
#BF77F6
ΔE00 3.67
Light Urple
#B36FF6
ΔE00 3.77
Heliotrope
#D94FF5
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C866FC #9AFC66
analogous
#7D66FC #C866FC #FC66E5
triadic
#C866FC #FCC866 #66FCC8
tetradic
#C866FC #FC7D66 #9AFC66 #66E5FC
square
#C866FC #FC7D66 #9AFC66 #66E5FC
split-complementary
#C866FC #E5FC66 #66FC7D
monochromatic
#9604E3 #B22AFB #C866FC #DEA2FD #F3DEFE
Accessibility & contrast
On white
3.11
#C866FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#C866FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C866FC
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C866FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C866FC | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#5B94F8
Tritanopia (blue-blind)
#C282A8
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c866fc; /* rgb */ color: rgb(200, 102, 252); /* oklch */ color: oklch(68.7% 0.224 312.1);
Tailwind
colors: {
custom: {
50: '#dc96fe',
500: '#c866fc',
950: '#000000',
},
}SCSS
$custom: #c866fc; $custom-light: #dc96fe; $custom-dark: #000000;
JSON
{
"hex": "#c866fc",
"rgb": {
"r": 200,
"g": 102,
"b": 252
},
"hsl": {
"h": 279.2,
"s": 96.154,
"l": 69.412
},
"oklch": {
"l": 0.68736,
"c": 0.22403,
"h": 312.1
},
"luminance": 0.2881
}Semantic roles & 50–950 ramp
primary
#C866FC
secondary
#D8F5C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86