#C862F5#C862F5
#C862F5 is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.8% C 0.223 H 314.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C862F5 |
|---|---|
| RGB | rgb(200, 98, 245) |
| HSL | hsl(282, 88%, 67%) |
| HSV | hsv(282, 60%, 96%) |
| CMYK | cmyk(18.4%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(59.53, 63.16, -57.01) |
| CIE-LCH | lch(59.53, 85.08, 317.93°) |
| OKLab | oklab(67.82% 0.1549 -0.1599) |
| OKLCH | oklch(67.82% 0.223 314.1) |
| XYZ | xyz(44.6658, 27.6086, 89.3446) |
| Luminance | 0.2761 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.04
Bright Lavender
#C760FF
ΔE00 1.52
Heliotrope
#D94FF5
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 3.59
Light Urple
#B36FF6
ΔE00 4.32
Light Purple
#BF77F6
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862F5 #8FF562
analogous
#7F62F5 #C862F5 #F562D8
triadic
#C862F5 #F5C862 #62F5C8
tetradic
#C862F5 #F57F62 #8FF562 #62D8F5
square
#C862F5 #F57F62 #8FF562 #62D8F5
split-complementary
#C862F5 #D8F562 #62F57F
monochromatic
#940DCF #B428F1 #C862F5 #DC9CF9 #F0D5FC
Accessibility & contrast
On white
3.22
#C862F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#C862F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862F5
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862F5 | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#308AFA
Deuteranopia (green-blind)
#5D92F1
Tritanopia (blue-blind)
#C47CA3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c862f5; /* rgb */ color: rgb(200, 98, 245); /* oklch */ color: oklch(67.8% 0.223 314.1);
Tailwind
colors: {
custom: {
50: '#dc94f9',
500: '#c862f5',
950: '#000000',
},
}SCSS
$custom: #c862f5; $custom-light: #dc94f9; $custom-dark: #000000;
JSON
{
"hex": "#c862f5",
"rgb": {
"r": 200,
"g": 98,
"b": 245
},
"hsl": {
"h": 281.633,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.67824,
"c": 0.22267,
"h": 314.1
},
"luminance": 0.27607
}Semantic roles & 50–950 ramp
primary
#C862F5
secondary
#D0F1C2
accent
#E50147
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85