#C862DB#C862DB
#C862DB is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.4% C 0.198 H 321.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C862DB |
|---|---|
| RGB | rgb(200, 98, 219) |
| HSL | hsl(291, 63%, 62%) |
| HSV | hsv(291, 55%, 86%) |
| CMYK | cmyk(8.7%, 55.3%, 0%, 14.1%) |
| CIE-LAB | lab(58.16, 58.04, -44.66) |
| CIE-LCH | lch(58.16, 73.24, 322.43°) |
| OKLab | oklab(66.38% 0.1538 -0.124) |
| OKLCH | oklch(66.38% 0.198 321.1) |
| XYZ | xyz(40.9718, 26.1311, 69.8897) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.32
Pinkish Purple
#D648D7
ΔE00 4.40
Heliotrope
#D94FF5
ΔE00 4.54
Bright Lilac
#C95EFB
ΔE00 4.92
Orchid
#DA70D6
ΔE00 5.50
Bright Lavender
#C760FF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C862DB #75DB62
analogous
#8C62DB #C862DB #DB62B1
triadic
#C862DB #DBC862 #62DBC8
tetradic
#C862DB #DB8C62 #75DB62 #62B1DB
square
#C862DB #DB8C62 #75DB62 #62B1DB
split-complementary
#C862DB #B1DB62 #62DB8C
monochromatic
#8B249E #B730D0 #C862DB #D994E6 #EBC6F2
Accessibility & contrast
On white
3.37
#C862DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#C862DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C862DB
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C862DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C862DB | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#6E90D8
Tritanopia (blue-blind)
#CA7395
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c862db; /* rgb */ color: rgb(200, 98, 219); /* oklch */ color: oklch(66.4% 0.198 321.1);
Tailwind
colors: {
custom: {
50: '#db93e6',
500: '#c862db',
950: '#000000',
},
}SCSS
$custom: #c862db; $custom-light: #db93e6; $custom-dark: #000000;
JSON
{
"hex": "#c862db",
"rgb": {
"r": 200,
"g": 98,
"b": 219
},
"hsl": {
"h": 290.579,
"s": 62.694,
"l": 62.157
},
"oklch": {
"l": 0.66378,
"c": 0.19753,
"h": 321.1
},
"luminance": 0.26129
}Semantic roles & 50–950 ramp
primary
#C862DB
secondary
#BDE3B6
accent
#CA1B37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84