#D431E2#D431E2
#D431E2 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.6% C 0.267 H 324.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D431E2 |
|---|---|
| RGB | rgb(212, 49, 226) |
| HSL | hsl(295, 75%, 54%) |
| HSV | hsv(295, 78%, 89%) |
| CMYK | cmyk(6.2%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(53.69, 80.36, -55.61) |
| CIE-LCH | lch(53.69, 97.73, 325.32°) |
| OKLab | oklab(63.63% 0.2174 -0.1552) |
| OKLCH | oklch(63.63% 0.267 324.5) |
| XYZ | xyz(41.9760, 21.6874, 73.9119) |
| Luminance | 0.2168 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple Pink
#D725DE
ΔE00 1.16
Pinkish Purple
#D648D7
ΔE00 3.51
Pink Purple
#EF1DE7
ΔE00 4.30
Fuchsia (survey)
#ED0DD9
ΔE00 4.41
Hot Purple
#CB00F5
ΔE00 4.60
Mediumorchid
#BA55D3
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D431E2 #3FE231
analogous
#7C31E2 #D431E2 #E23198
triadic
#D431E2 #E2D431 #31E2D4
tetradic
#D431E2 #E27C31 #3FE231 #3198E2
square
#D431E2 #E27C31 #3FE231 #3198E2
split-complementary
#D431E2 #98E231 #31E27C
monochromatic
#7D1386 #AF1ABB #D431E2 #DF67EA #EA9CF1
Accessibility & contrast
On white
3.93
#D431E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#D431E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D431E2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D431E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D431E2 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#5787DE
Tritanopia (blue-blind)
#D8548A
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #d431e2; /* rgb */ color: rgb(212, 49, 226); /* oklch */ color: oklch(63.6% 0.267 324.5);
Tailwind
colors: {
custom: {
50: '#e67dec',
500: '#d431e2',
950: '#000000',
},
}SCSS
$custom: #d431e2; $custom-light: #e67dec; $custom-dark: #000000;
JSON
{
"hex": "#d431e2",
"rgb": {
"r": 212,
"g": 49,
"b": 226
},
"hsl": {
"h": 295.254,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.63628,
"c": 0.26709,
"h": 324.5
},
"luminance": 0.21685
}Semantic roles & 50–950 ramp
primary
#D431E2
secondary
#98DD92
accent
#F23645
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#160B16
muted
#847C84