#D372EF#D372EF
#D372EF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.9% C 0.198 H 318.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #D372EF |
|---|---|
| RGB | rgb(211, 114, 239) |
| HSL | hsl(287, 80%, 69%) |
| HSV | hsv(287, 52%, 94%) |
| CMYK | cmyk(11.7%, 52.3%, 0%, 6.3%) |
| CIE-LAB | lab(63.44, 57.03, -47.40) |
| CIE-LCH | lch(63.44, 74.15, 320.27°) |
| OKLab | oklab(70.87% 0.1475 -0.1317) |
| OKLCH | oklch(70.87% 0.198 318.2) |
| XYZ | xyz(48.4591, 32.1173, 85.2912) |
| Luminance | 0.3212 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.25
Easter Purple
#C071FE
ΔE00 4.84
Orchid
#DA70D6
ΔE00 4.96
Bright Lilac
#C95EFB
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.46
Heliotrope
#D94FF5
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D372EF #8EEF72
analogous
#9572EF #D372EF #EF72CD
triadic
#D372EF #EFD372 #72EFD3
tetradic
#D372EF #EF9572 #8EEF72 #72CDEF
square
#D372EF #EF9572 #8EEF72 #72CDEF
split-complementary
#D372EF #CDEF72 #72EF95
monochromatic
#A618CF #C23BE9 #D372EF #E4A9F5 #F5E0FB
Accessibility & contrast
On white
2.83
#D372EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.42
#D372EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D372EF
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D372EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D372EF | 1.00 | 2.83 | 7.42 | 7.42 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#D385A6
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d372ef; /* rgb */ color: rgb(211, 114, 239); /* oklch */ color: oklch(70.9% 0.198 318.2);
Tailwind
colors: {
custom: {
50: '#e39ef5',
500: '#d372ef',
950: '#000000',
},
}SCSS
$custom: #d372ef; $custom-light: #e39ef5; $custom-dark: #000000;
JSON
{
"hex": "#d372ef",
"rgb": {
"r": 211,
"g": 114,
"b": 239
},
"hsl": {
"h": 286.56,
"s": 79.618,
"l": 69.216
},
"oklch": {
"l": 0.70871,
"c": 0.1978,
"h": 318.2
},
"luminance": 0.32116
}Semantic roles & 50–950 ramp
primary
#D372EF
secondary
#D4F1CC
accent
#DC0A39
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85