#D862E7#D862E7
#D862E7 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.0% C 0.217 H 323.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E7 |
|---|---|
| RGB | rgb(216, 98, 231) |
| HSL | hsl(293, 73%, 65%) |
| HSV | hsv(293, 58%, 91%) |
| CMYK | cmyk(6.5%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(60.88, 64.33, -46.96) |
| CIE-LCH | lch(60.88, 79.65, 323.87°) |
| OKLab | oklab(69% 0.173 -0.1302) |
| OKLCH | oklch(69% 0.217 323) |
| XYZ | xyz(47.1090, 29.1062, 78.7225) |
| Luminance | 0.2910 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.66
Orchid
#DA70D6
ΔE00 4.49
Bright Lilac
#C95EFB
ΔE00 4.82
Pinkish Purple
#D648D7
ΔE00 5.05
Light Magenta
#FA5FF7
ΔE00 5.38
Bright Lavender
#C760FF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E7 #71E762
analogous
#9662E7 #D862E7 #E762B4
triadic
#D862E7 #E7D862 #62E7D8
tetradic
#D862E7 #E79662 #71E762 #62B4E7
square
#D862E7 #E79662 #71E762 #62B4E7
split-complementary
#D862E7 #B4E762 #62E796
monochromatic
#A21BB3 #CB2DDF #D862E7 #E597EF #F2CCF7
Accessibility & contrast
On white
3.08
#D862E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#D862E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E7
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E7 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B8AEB
Deuteranopia (green-blind)
#7498E3
Tritanopia (blue-blind)
#DB759C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d862e7; /* rgb */ color: rgb(216, 98, 231); /* oklch */ color: oklch(69.0% 0.217 323.0);
Tailwind
colors: {
custom: {
50: '#e795ef',
500: '#d862e7',
950: '#000000',
},
}SCSS
$custom: #d862e7; $custom-light: #e795ef; $custom-dark: #000000;
JSON
{
"hex": "#d862e7",
"rgb": {
"r": 216,
"g": 98,
"b": 231
},
"hsl": {
"h": 293.233,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.68997,
"c": 0.21653,
"h": 323
},
"luminance": 0.29104
}Semantic roles & 50–950 ramp
primary
#D862E7
secondary
#C1E9BB
accent
#D61026
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84