#C866FA#C866FA
#C866FA is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.6% C 0.222 H 312.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C866FA |
|---|---|
| RGB | rgb(200, 102, 250) |
| HSL | hsl(280, 94%, 69%) |
| HSV | hsv(280, 59%, 98%) |
| CMYK | cmyk(20%, 59.2%, 0%, 2%) |
| CIE-LAB | lab(60.50, 62.31, -58.23) |
| CIE-LCH | lch(60.50, 85.28, 316.94°) |
| OKLab | oklab(68.62% 0.1502 -0.1635) |
| OKLCH | oklch(68.62% 0.222 312.6) |
| XYZ | xyz(45.8231, 28.6854, 93.5469) |
| Luminance | 0.2868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.37
Bright Lilac
#C95EFB
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 2.63
Light Purple
#BF77F6
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 3.82
Heliotrope
#D94FF5
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C866FA #98FA66
analogous
#7E66FA #C866FA #FA66E2
triadic
#C866FA #FAC866 #66FAC8
tetradic
#C866FA #FA7E66 #98FA66 #66E2FA
square
#C866FA #FA7E66 #98FA66 #66E2FA
split-complementary
#C866FA #E2FA66 #66FA7E
monochromatic
#9607DE #B32BF8 #C866FA #DDA1FC #F3DDFE
Accessibility & contrast
On white
3.12
#C866FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#C866FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C866FA
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C866FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C866FA | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328DFF
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#C381A7
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c866fa; /* rgb */ color: rgb(200, 102, 250); /* oklch */ color: oklch(68.6% 0.222 312.6);
Tailwind
colors: {
custom: {
50: '#dc96fd',
500: '#c866fa',
950: '#000000',
},
}SCSS
$custom: #c866fa; $custom-light: #dc96fd; $custom-dark: #000000;
JSON
{
"hex": "#c866fa",
"rgb": {
"r": 200,
"g": 102,
"b": 250
},
"hsl": {
"h": 279.73,
"s": 93.671,
"l": 69.02
},
"oklch": {
"l": 0.68618,
"c": 0.22203,
"h": 312.6
},
"luminance": 0.28684
}Semantic roles & 50–950 ramp
primary
#C866FA
secondary
#D7F4C8
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86