#C862FD#C862FD
#C862FD is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.3% C 0.231 H 312.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C862FD |
|---|---|
| RGB | rgb(200, 98, 253) |
| HSL | hsl(279, 97%, 69%) |
| HSV | hsv(279, 61%, 99%) |
| CMYK | cmyk(20.9%, 61.3%, 0%, 0.8%) |
| CIE-LAB | lab(59.99, 64.79, -60.71) |
| CIE-LCH | lch(59.99, 88.79, 316.86°) |
| OKLab | oklab(68.3% 0.1548 -0.1708) |
| OKLCH | oklch(68.3% 0.231 312.2) |
| XYZ | xyz(45.9135, 28.1077, 95.9162) |
| Luminance | 0.2811 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.54
Bright Lilac
#C95EFB
ΔE00 0.80
Easter Purple
#C071FE
ΔE00 3.10
Heliotrope
#D94FF5
ΔE00 3.95
Light Urple
#B36FF6
ΔE00 4.04
Light Purple
#BF77F6
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862FD #97FD62
analogous
#7B62FD #C862FD #FD62E4
triadic
#C862FD #FDC862 #62FDC8
tetradic
#C862FD #FD7B62 #97FD62 #62E4FD
square
#C862FD #FD7B62 #97FD62 #62E4FD
split-complementary
#C862FD #E4FD62 #62FD7B
monochromatic
#9603E2 #B326FC #C862FD #DD9EFE #F2DBFF
Accessibility & contrast
On white
3.17
#C862FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#C862FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862FD
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862FD | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#C27FA7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c862fd; /* rgb */ color: rgb(200, 98, 253); /* oklch */ color: oklch(68.3% 0.231 312.2);
Tailwind
colors: {
custom: {
50: '#dc94ff',
500: '#c862fd',
950: '#000000',
},
}SCSS
$custom: #c862fd; $custom-light: #dc94ff; $custom-dark: #000000;
JSON
{
"hex": "#c862fd",
"rgb": {
"r": 200,
"g": 98,
"b": 253
},
"hsl": {
"h": 279.484,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.68297,
"c": 0.23053,
"h": 312.2
},
"luminance": 0.28107
}Semantic roles & 50–950 ramp
primary
#C862FD
secondary
#D6F4C6
accent
#E6004E
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86