#D762E4#D762E4
#D762E4 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.213 H 323.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #D762E4 |
|---|---|
| RGB | rgb(215, 98, 228) |
| HSL | hsl(294, 71%, 64%) |
| HSV | hsv(294, 57%, 89%) |
| CMYK | cmyk(5.7%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(60.59, 63.54, -45.74) |
| CIE-LCH | lch(60.59, 78.29, 324.25°) |
| OKLab | oklab(68.72% 0.1716 -0.1267) |
| OKLCH | oklch(68.72% 0.213 323.6) |
| XYZ | xyz(46.3943, 28.7863, 76.4963) |
| Luminance | 0.2878 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.88
Orchid
#DA70D6
ΔE00 4.25
Pinkish Purple
#D648D7
ΔE00 4.82
Bright Lilac
#C95EFB
ΔE00 5.08
Light Magenta
#FA5FF7
ΔE00 5.59
Bright Lavender
#C760FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D762E4 #6FE462
analogous
#9662E4 #D762E4 #E462B0
triadic
#D762E4 #E4D762 #62E4D7
tetradic
#D762E4 #E49662 #6FE462 #62B0E4
square
#D762E4 #E49662 #6FE462 #62B0E4
split-complementary
#D762E4 #B0E462 #62E496
monochromatic
#9F1EAE #CA2EDB #D762E4 #E496ED #F2CAF6
Accessibility & contrast
On white
3.11
#D762E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#D762E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D762E4
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D762E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D762E4 | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C89E8
Deuteranopia (green-blind)
#7597E0
Tritanopia (blue-blind)
#DB749A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d762e4; /* rgb */ color: rgb(215, 98, 228); /* oklch */ color: oklch(68.7% 0.213 323.6);
Tailwind
colors: {
custom: {
50: '#e694ed',
500: '#d762e4',
950: '#000000',
},
}SCSS
$custom: #d762e4; $custom-light: #e694ed; $custom-dark: #000000;
JSON
{
"hex": "#d762e4",
"rgb": {
"r": 215,
"g": 98,
"b": 228
},
"hsl": {
"h": 294,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.68715,
"c": 0.21335,
"h": 323.6
},
"luminance": 0.28784
}Semantic roles & 50–950 ramp
primary
#D762E4
secondary
#BFE8BA
accent
#D31326
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84