#D862E8#D862E8
#D862E8 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.0% C 0.217 H 322.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E8 |
|---|---|
| RGB | rgb(216, 98, 232) |
| HSL | hsl(293, 74%, 65%) |
| HSV | hsv(293, 58%, 91%) |
| CMYK | cmyk(6.9%, 57.8%, 0%, 9%) |
| CIE-LAB | lab(60.93, 64.52, -47.44) |
| CIE-LCH | lch(60.93, 80.08, 323.67°) |
| OKLab | oklab(69.05% 0.173 -0.1316) |
| OKLCH | oklch(69.05% 0.217 322.7) |
| XYZ | xyz(47.2506, 29.1629, 79.4684) |
| Luminance | 0.2916 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.57
Orchid
#DA70D6
ΔE00 4.61
Bright Lilac
#C95EFB
ΔE00 4.69
Pinkish Purple
#D648D7
ΔE00 5.12
Bright Lavender
#C760FF
ΔE00 5.31
Light Magenta
#FA5FF7
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E8 #72E862
analogous
#9562E8 #D862E8 #E862B5
triadic
#D862E8 #E8D862 #62E8D8
tetradic
#D862E8 #E89562 #72E862 #62B5E8
square
#D862E8 #E89562 #72E862 #62B5E8
split-complementary
#D862E8 #B5E862 #62E895
monochromatic
#A31BB5 #CB2DE0 #D862E8 #E597F0 #F3CDF8
Accessibility & contrast
On white
3.07
#D862E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#D862E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E8
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E8 | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#7498E4
Tritanopia (blue-blind)
#DB759C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d862e8; /* rgb */ color: rgb(216, 98, 232); /* oklch */ color: oklch(69.0% 0.217 322.7);
Tailwind
colors: {
custom: {
50: '#e795f0',
500: '#d862e8',
950: '#000000',
},
}SCSS
$custom: #d862e8; $custom-light: #e795f0; $custom-dark: #000000;
JSON
{
"hex": "#d862e8",
"rgb": {
"r": 216,
"g": 98,
"b": 232
},
"hsl": {
"h": 292.836,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.6905,
"c": 0.21742,
"h": 322.7
},
"luminance": 0.2916
}Semantic roles & 50–950 ramp
primary
#D862E8
secondary
#C1EABC
accent
#D70F27
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84