#D372F2#D372F2
#D372F2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.0% C 0.201 H 317.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D372F2 |
|---|---|
| RGB | rgb(211, 114, 242) |
| HSL | hsl(285, 83%, 70%) |
| HSV | hsv(285, 53%, 95%) |
| CMYK | cmyk(12.8%, 52.9%, 0%, 5.1%) |
| CIE-LAB | lab(63.59, 57.62, -48.83) |
| CIE-LCH | lch(63.59, 75.52, 319.72°) |
| OKLab | oklab(71.03% 0.1478 -0.1359) |
| OKLCH | oklch(71.03% 0.201 317.4) |
| XYZ | xyz(48.9060, 32.2960, 87.6448) |
| Luminance | 0.3229 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.98
Easter Purple
#C071FE
ΔE00 4.49
Bright Lilac
#C95EFB
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.18
Orchid
#DA70D6
ΔE00 5.42
Heliotrope
#D94FF5
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D372F2 #91F272
analogous
#9372F2 #D372F2 #F272D1
triadic
#D372F2 #F2D372 #72F2D3
tetradic
#D372F2 #F29372 #91F272 #72D1F2
square
#D372F2 #F29372 #91F272 #72D1F2
split-complementary
#D372F2 #D1F272 #72F293
monochromatic
#A714D6 #C23AED #D372F2 #E4AAF7 #F6E2FC
Accessibility & contrast
On white
2.82
#D372F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#D372F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D372F2
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D372F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D372F2 | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D286A8
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d372f2; /* rgb */ color: rgb(211, 114, 242); /* oklch */ color: oklch(71.0% 0.201 317.4);
Tailwind
colors: {
custom: {
50: '#e39ef7',
500: '#d372f2',
950: '#000000',
},
}SCSS
$custom: #d372f2; $custom-light: #e39ef7; $custom-dark: #000000;
JSON
{
"hex": "#d372f2",
"rgb": {
"r": 211,
"g": 114,
"b": 242
},
"hsl": {
"h": 285.469,
"s": 83.117,
"l": 69.804
},
"oklch": {
"l": 0.71027,
"c": 0.20079,
"h": 317.4
},
"luminance": 0.32294
}Semantic roles & 50–950 ramp
primary
#D372F2
secondary
#D7F2CE
accent
#E0063B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85