#D331E3#D331E3
#D331E3 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 63.5% C 0.267 H 324.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D331E3 |
|---|---|
| RGB | rgb(211, 49, 227) |
| HSL | hsl(295, 76%, 54%) |
| HSV | hsv(295, 78%, 89%) |
| CMYK | cmyk(7%, 78.4%, 0%, 11%) |
| CIE-LAB | lab(53.59, 80.34, -56.34) |
| CIE-LCH | lch(53.59, 98.13, 324.96°) |
| OKLab | oklab(63.55% 0.2162 -0.1574) |
| OKLCH | oklch(63.55% 0.267 324) |
| XYZ | xyz(41.8262, 21.5942, 74.6232) |
| Luminance | 0.2159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 1.29
Pinkish Purple
#D648D7
ΔE00 3.71
Hot Purple
#CB00F5
ΔE00 4.38
Pink Purple
#EF1DE7
ΔE00 4.50
Fuchsia (survey)
#ED0DD9
ΔE00 4.65
Mediumorchid
#BA55D3
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D331E3 #41E331
analogous
#7A31E3 #D331E3 #E3319A
triadic
#D331E3 #E3D331 #31E3D3
tetradic
#D331E3 #E37A31 #41E331 #319AE3
square
#D331E3 #E37A31 #41E331 #319AE3
split-complementary
#D331E3 #9AE331 #31E37A
monochromatic
#7D1287 #AE1ABD #D331E3 #DF67EA #EA9DF2
Accessibility & contrast
On white
3.95
#D331E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#D331E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D331E3
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D331E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D331E3 | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#5586DF
Tritanopia (blue-blind)
#D7558B
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d331e3; /* rgb */ color: rgb(211, 49, 227); /* oklch */ color: oklch(63.5% 0.267 324.0);
Tailwind
colors: {
custom: {
50: '#e57dec',
500: '#d331e3',
950: '#000000',
},
}SCSS
$custom: #d331e3; $custom-light: #e57dec; $custom-dark: #000000;
JSON
{
"hex": "#d331e3",
"rgb": {
"r": 211,
"g": 49,
"b": 227
},
"hsl": {
"h": 294.607,
"s": 76.068,
"l": 54.118
},
"oklch": {
"l": 0.63546,
"c": 0.26743,
"h": 324
},
"luminance": 0.21592
}Semantic roles & 50–950 ramp
primary
#D331E3
secondary
#99DE92
accent
#F33546
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84