#D662E4#D662E4
#D662E4 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 68.6% C 0.213 H 323.2°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D662E4 |
|---|---|
| RGB | rgb(214, 98, 228) |
| HSL | hsl(294, 71%, 64%) |
| HSV | hsv(294, 57%, 89%) |
| CMYK | cmyk(6.1%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(60.46, 63.29, -45.96) |
| CIE-LCH | lch(60.46, 78.22, 324.01°) |
| OKLab | oklab(68.59% 0.1705 -0.1274) |
| OKLCH | oklch(68.59% 0.213 323.2) |
| XYZ | xyz(46.1015, 28.6353, 76.4826) |
| Luminance | 0.2863 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.80
Orchid
#DA70D6
ΔE00 4.36
Pinkish Purple
#D648D7
ΔE00 4.78
Bright Lilac
#C95EFB
ΔE00 4.95
Bright Lavender
#C760FF
ΔE00 5.60
Light Magenta
#FA5FF7
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D662E4 #70E462
analogous
#9562E4 #D662E4 #E462B1
triadic
#D662E4 #E4D662 #62E4D6
tetradic
#D662E4 #E49562 #70E462 #62B1E4
square
#D662E4 #E49562 #70E462 #62B1E4
split-complementary
#D662E4 #B1E462 #62E495
monochromatic
#9E1EAE #C82EDB #D662E4 #E496ED #F1CAF6
Accessibility & contrast
On white
3.12
#D662E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.73
#D662E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D662E4
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D662E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D662E4 | 1.00 | 3.12 | 6.73 | 6.73 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#7497E0
Tritanopia (blue-blind)
#D9749A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d662e4; /* rgb */ color: rgb(214, 98, 228); /* oklch */ color: oklch(68.6% 0.213 323.2);
Tailwind
colors: {
custom: {
50: '#e594ed',
500: '#d662e4',
950: '#000000',
},
}SCSS
$custom: #d662e4; $custom-light: #e594ed; $custom-dark: #000000;
JSON
{
"hex": "#d662e4",
"rgb": {
"r": 214,
"g": 98,
"b": 228
},
"hsl": {
"h": 293.538,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.68589,
"c": 0.21284,
"h": 323.2
},
"luminance": 0.28633
}Semantic roles & 50–950 ramp
primary
#D662E4
secondary
#BFE8BA
accent
#D31327
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84