#C862DD#C862DD
#C862DD is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.5% C 0.199 H 320.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C862DD |
|---|---|
| RGB | rgb(200, 98, 221) |
| HSL | hsl(290, 64%, 63%) |
| HSV | hsv(290, 56%, 87%) |
| CMYK | cmyk(9.5%, 55.7%, 0%, 13.3%) |
| CIE-LAB | lab(58.26, 58.42, -45.63) |
| CIE-LCH | lch(58.26, 74.13, 322.01°) |
| OKLab | oklab(66.48% 0.154 -0.1268) |
| OKLCH | oklch(66.48% 0.199 320.5) |
| XYZ | xyz(41.2367, 26.2370, 71.2847) |
| Luminance | 0.2624 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.32
Mediumorchid
#BA55D3
ΔE00 4.35
Pinkish Purple
#D648D7
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 4.59
Bright Lavender
#C760FF
ΔE00 5.24
Orchid
#DA70D6
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862DD #77DD62
analogous
#8A62DD #C862DD #DD62B5
triadic
#C862DD #DDC862 #62DDC8
tetradic
#C862DD #DD8A62 #77DD62 #62B5DD
square
#C862DD #DD8A62 #77DD62 #62B5DD
split-complementary
#C862DD #B5DD62 #62DD8A
monochromatic
#8C23A2 #B630D2 #C862DD #DA94E8 #EBC7F3
Accessibility & contrast
On white
3.36
#C862DD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#C862DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862DD
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862DD | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#6D90DA
Tritanopia (blue-blind)
#C97496
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c862dd; /* rgb */ color: rgb(200, 98, 221); /* oklch */ color: oklch(66.5% 0.199 320.5);
Tailwind
colors: {
custom: {
50: '#db93e8',
500: '#c862dd',
950: '#000000',
},
}SCSS
$custom: #c862dd; $custom-light: #db93e8; $custom-dark: #000000;
JSON
{
"hex": "#c862dd",
"rgb": {
"r": 200,
"g": 98,
"b": 221
},
"hsl": {
"h": 289.756,
"s": 64.398,
"l": 62.549
},
"oklch": {
"l": 0.66484,
"c": 0.19943,
"h": 320.5
},
"luminance": 0.26235
}Semantic roles & 50–950 ramp
primary
#C862DD
secondary
#BFE4B7
accent
#CC1938
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84