#D37EF2#D37EF2
#D37EF2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.182 H 316.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D37EF2 |
|---|---|
| RGB | rgb(211, 126, 242) |
| HSL | hsl(284, 82%, 72%) |
| HSV | hsv(284, 48%, 95%) |
| CMYK | cmyk(12.8%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.89, 51.59, -45.19) |
| CIE-LCH | lch(65.89, 68.58, 318.78°) |
| OKLab | oklab(72.73% 0.1319 -0.1254) |
| OKLCH | oklch(72.73% 0.182 316.4) |
| XYZ | xyz(50.3495, 35.1829, 88.1259) |
| Luminance | 0.3518 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.50
Liliac
#C48EFD
ΔE00 5.34
Violet (CSS)
#EE82EE
ΔE00 5.47
Easter Purple
#C071FE
ΔE00 5.63
Orchid
#DA70D6
ΔE00 5.85
Purply Pink
#F075E6
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D37EF2 #9DF27E
analogous
#997EF2 #D37EF2 #F27ED7
triadic
#D37EF2 #F2D37E #7EF2D3
tetradic
#D37EF2 #F2997E #9DF27E #7ED7F2
square
#D37EF2 #F2997E #9DF27E #7ED7F2
split-complementary
#D37EF2 #D7F27E #7EF299
monochromatic
#AA16DF #C046EC #D37EF2 #E6B6F8 #F6E3FC
Accessibility & contrast
On white
2.61
#D37EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#D37EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D37EF2
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D37EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D37EF2 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#D28FAD
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d37ef2; /* rgb */ color: rgb(211, 126, 242); /* oklch */ color: oklch(72.7% 0.182 316.4);
Tailwind
colors: {
custom: {
50: '#e2a6f7',
500: '#d37ef2',
950: '#000000',
},
}SCSS
$custom: #d37ef2; $custom-light: #e2a6f7; $custom-dark: #000000;
JSON
{
"hex": "#d37ef2",
"rgb": {
"r": 211,
"g": 126,
"b": 242
},
"hsl": {
"h": 283.966,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.7273,
"c": 0.182,
"h": 316.4
},
"luminance": 0.35181
}Semantic roles & 50–950 ramp
primary
#D37EF2
secondary
#DFF4D7
accent
#DE0741
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85