#C862FE#C862FE
#C862FE is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 68.4% C 0.232 H 312.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C862FE |
|---|---|
| RGB | rgb(200, 98, 254) |
| HSL | hsl(279, 99%, 69%) |
| HSV | hsv(279, 61%, 100%) |
| CMYK | cmyk(21.3%, 61.4%, 0%, 0.4%) |
| CIE-LAB | lab(60.04, 65.00, -61.17) |
| CIE-LCH | lch(60.04, 89.26, 316.74°) |
| OKLab | oklab(68.36% 0.1548 -0.1721) |
| OKLCH | oklch(68.36% 0.232 312) |
| XYZ | xyz(46.0733, 28.1716, 96.7573) |
| Luminance | 0.2817 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.48
Bright Lilac
#C95EFB
ΔE00 0.88
Easter Purple
#C071FE
ΔE00 3.06
Heliotrope
#D94FF5
ΔE00 4.03
Light Urple
#B36FF6
ΔE00 4.03
Light Purple
#BF77F6
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862FE #98FE62
analogous
#7A62FE #C862FE #FE62E6
triadic
#C862FE #FEC862 #62FEC8
tetradic
#C862FE #FE7A62 #98FE62 #62E6FE
square
#C862FE #FE7A62 #98FE62 #62E6FE
split-complementary
#C862FE #E6FE62 #62FE7A
monochromatic
#9601E4 #B325FE #C862FE #DD9FFE #F3DCFF
Accessibility & contrast
On white
3.17
#C862FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#C862FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862FE
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862FE | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F8CFF
Deuteranopia (green-blind)
#5593FA
Tritanopia (blue-blind)
#C280A7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c862fe; /* rgb */ color: rgb(200, 98, 254); /* oklch */ color: oklch(68.4% 0.232 312.0);
Tailwind
colors: {
custom: {
50: '#dc94ff',
500: '#c862fe',
950: '#000000',
},
}SCSS
$custom: #c862fe; $custom-light: #dc94ff; $custom-dark: #000000;
JSON
{
"hex": "#c862fe",
"rgb": {
"r": 200,
"g": 98,
"b": 254
},
"hsl": {
"h": 279.231,
"s": 98.734,
"l": 69.02
},
"oklch": {
"l": 0.68358,
"c": 0.23152,
"h": 312
},
"luminance": 0.2817
}Semantic roles & 50–950 ramp
primary
#C862FE
secondary
#D7F5C7
accent
#E6004F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86