#C862F4#C862F4
#C862F4 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.8% C 0.222 H 314.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C862F4 |
|---|---|
| RGB | rgb(200, 98, 244) |
| HSL | hsl(282, 87%, 67%) |
| HSV | hsv(282, 60%, 96%) |
| CMYK | cmyk(18%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(59.48, 62.95, -56.54) |
| CIE-LCH | lch(59.48, 84.62, 318.07°) |
| OKLab | oklab(67.77% 0.1549 -0.1586) |
| OKLCH | oklch(67.77% 0.222 314.3) |
| XYZ | xyz(44.5135, 27.5477, 88.5428) |
| Luminance | 0.2755 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.15
Bright Lavender
#C760FF
ΔE00 1.67
Heliotrope
#D94FF5
ΔE00 3.44
Easter Purple
#C071FE
ΔE00 3.67
Light Urple
#B36FF6
ΔE00 4.38
Light Purple
#BF77F6
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862F4 #8EF462
analogous
#7F62F4 #C862F4 #F462D7
triadic
#C862F4 #F4C862 #62F4C8
tetradic
#C862F4 #F47F62 #8EF462 #62D7F4
square
#C862F4 #F47F62 #8EF462 #62D7F4
split-complementary
#C862F4 #D7F462 #62F47F
monochromatic
#940ECD #B429F0 #C862F4 #DC9BF8 #F0D4FC
Accessibility & contrast
On white
3.23
#C862F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#C862F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862F4
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862F4 | 1.00 | 3.23 | 6.51 | 6.51 |
| #FFFFFF | 3.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3189F9
Deuteranopia (green-blind)
#5E92F0
Tritanopia (blue-blind)
#C47CA2
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c862f4; /* rgb */ color: rgb(200, 98, 244); /* oklch */ color: oklch(67.8% 0.222 314.3);
Tailwind
colors: {
custom: {
50: '#dc94f8',
500: '#c862f4',
950: '#000000',
},
}SCSS
$custom: #c862f4; $custom-light: #dc94f8; $custom-dark: #000000;
JSON
{
"hex": "#c862f4",
"rgb": {
"r": 200,
"g": 98,
"b": 244
},
"hsl": {
"h": 281.918,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.67765,
"c": 0.22168,
"h": 314.3
},
"luminance": 0.27546
}Semantic roles & 50–950 ramp
primary
#C862F4
secondary
#D0F0C2
accent
#E30246
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85