#D862E3#D862E3
#D862E3 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.213 H 324.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E3 |
|---|---|
| RGB | rgb(216, 98, 227) |
| HSL | hsl(295, 70%, 64%) |
| HSV | hsv(295, 57%, 89%) |
| CMYK | cmyk(4.8%, 56.8%, 0%, 11%) |
| CIE-LAB | lab(60.68, 63.61, -45.04) |
| CIE-LCH | lch(60.68, 77.94, 324.70°) |
| OKLab | oklab(68.79% 0.1727 -0.1247) |
| OKLCH | oklch(68.79% 0.213 324.2) |
| XYZ | xyz(46.5505, 28.8828, 75.7811) |
| Luminance | 0.2888 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.03
Heliotrope
#D94FF5
ΔE00 4.07
Pinkish Purple
#D648D7
ΔE00 4.82
Bright Lilac
#C95EFB
ΔE00 5.36
Light Magenta
#FA5FF7
ΔE00 5.46
Purpleish Pink
#DF4EC8
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E3 #6DE362
analogous
#9762E3 #D862E3 #E362AD
triadic
#D862E3 #E3D862 #62E3D8
tetradic
#D862E3 #E39762 #6DE362 #62ADE3
square
#D862E3 #E39762 #6DE362 #62ADE3
split-complementary
#D862E3 #ADE362 #62E397
monochromatic
#A01FAC #CB2EDA #D862E3 #E596EC #F2CAF6
Accessibility & contrast
On white
3.10
#D862E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#D862E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E3
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E3 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#7697DF
Tritanopia (blue-blind)
#DC749A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d862e3; /* rgb */ color: rgb(216, 98, 227); /* oklch */ color: oklch(68.8% 0.213 324.2);
Tailwind
colors: {
custom: {
50: '#e794ec',
500: '#d862e3',
950: '#000000',
},
}SCSS
$custom: #d862e3; $custom-light: #e794ec; $custom-dark: #000000;
JSON
{
"hex": "#d862e3",
"rgb": {
"r": 216,
"g": 98,
"b": 227
},
"hsl": {
"h": 294.884,
"s": 69.73,
"l": 63.725
},
"oklch": {
"l": 0.68789,
"c": 0.21298,
"h": 324.2
},
"luminance": 0.2888
}Semantic roles & 50–950 ramp
primary
#D862E3
secondary
#BEE7BA
accent
#D21424
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84