#D252F3#D252F3
#D252F3 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.1% C 0.246 H 318.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #D252F3 |
|---|---|
| RGB | rgb(210, 82, 243) |
| HSL | hsl(288, 87%, 64%) |
| HSV | hsv(288, 66%, 95%) |
| CMYK | cmyk(13.6%, 66.3%, 0%, 4.7%) |
| CIE-LAB | lab(58.24, 71.93, -57.90) |
| CIE-LCH | lch(58.24, 92.34, 321.17°) |
| OKLab | oklab(67.12% 0.1846 -0.1622) |
| OKLCH | oklch(67.12% 0.246 318.7) |
| XYZ | xyz(45.7711, 26.2093, 87.4246) |
| Luminance | 0.2621 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 1.07
Bright Lilac
#C95EFB
ΔE00 2.64
Bright Lavender
#C760FF
ΔE00 3.40
Pinkish Purple
#D648D7
ΔE00 4.68
Mediumorchid
#BA55D3
ΔE00 5.52
Pink Purple
#EF1DE7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D252F3 #73F352
analogous
#8152F3 #D252F3 #F352C3
triadic
#D252F3 #F3D252 #52F3D2
tetradic
#D252F3 #F38152 #73F352 #52C3F3
square
#D252F3 #F38152 #73F352 #52C3F3
split-complementary
#D252F3 #C3F352 #52F381
monochromatic
#990DBD #C319EF #D252F3 #E18BF7 #F0C4FB
Accessibility & contrast
On white
3.36
#D252F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#D252F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D252F3
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D252F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D252F3 | 1.00 | 3.36 | 6.24 | 6.24 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B84F8
Deuteranopia (green-blind)
#5B90EF
Tritanopia (blue-blind)
#D26F9C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #d252f3; /* rgb */ color: rgb(210, 82, 243); /* oklch */ color: oklch(67.1% 0.246 318.7);
Tailwind
colors: {
custom: {
50: '#e48cf8',
500: '#d252f3',
950: '#000000',
},
}SCSS
$custom: #d252f3; $custom-light: #e48cf8; $custom-dark: #000000;
JSON
{
"hex": "#d252f3",
"rgb": {
"r": 210,
"g": 82,
"b": 243
},
"hsl": {
"h": 287.702,
"s": 87.027,
"l": 63.725
},
"oklch": {
"l": 0.67124,
"c": 0.24572,
"h": 318.7
},
"luminance": 0.26207
}Semantic roles & 50–950 ramp
primary
#D252F3
secondary
#C0EDB4
accent
#E40230
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D17
muted
#847E85