#D152E3#D152E3
#D152E3 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.1% C 0.231 H 322.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D152E3 |
|---|---|
| RGB | rgb(209, 82, 227) |
| HSL | hsl(293, 72%, 61%) |
| HSV | hsv(293, 64%, 89%) |
| CMYK | cmyk(7.9%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(57.21, 68.80, -50.59) |
| CIE-LCH | lch(57.21, 85.40, 323.67°) |
| OKLab | oklab(66.07% 0.1837 -0.1409) |
| OKLCH | oklch(66.07% 0.231 322.5) |
| XYZ | xyz(43.1755, 25.1383, 75.2361) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.56
Heliotrope
#D94FF5
ΔE00 2.56
Mediumorchid
#BA55D3
ΔE00 4.20
Bright Lilac
#C95EFB
ΔE00 4.53
Pink Purple
#EF1DE7
ΔE00 5.05
Purple Pink
#D725DE
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D152E3 #64E352
analogous
#8952E3 #D152E3 #E352AC
triadic
#D152E3 #E3D152 #52E3D1
tetradic
#D152E3 #E38952 #64E352 #52ACE3
square
#D152E3 #E38952 #64E352 #52ACE3
split-complementary
#D152E3 #ACE352 #52E389
monochromatic
#901AA1 #BF23D5 #D152E3 #DF87EC #EDBBF4
Accessibility & contrast
On white
3.48
#D152E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#D152E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D152E3
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D152E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D152E3 | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F80E7
Deuteranopia (green-blind)
#668EDF
Tritanopia (blue-blind)
#D46994
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #d152e3; /* rgb */ color: rgb(209, 82, 227); /* oklch */ color: oklch(66.1% 0.231 322.5);
Tailwind
colors: {
custom: {
50: '#e38bec',
500: '#d152e3',
950: '#000000',
},
}SCSS
$custom: #d152e3; $custom-light: #e38bec; $custom-dark: #000000;
JSON
{
"hex": "#d152e3",
"rgb": {
"r": 209,
"g": 82,
"b": 227
},
"hsl": {
"h": 292.552,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.66072,
"c": 0.23147,
"h": 322.5
},
"luminance": 0.25136
}Semantic roles & 50–950 ramp
primary
#D152E3
secondary
#B4E4AD
accent
#D41129
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84