#D152FD#D152FD
#D152FD is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.6% C 0.254 H 316.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D152FD |
|---|---|
| RGB | rgb(209, 82, 253) |
| HSL | hsl(285, 98%, 66%) |
| HSV | hsv(285, 68%, 99%) |
| CMYK | cmyk(17.4%, 67.6%, 0%, 0.8%) |
| CIE-LAB | lab(58.68, 73.60, -62.74) |
| CIE-LCH | lch(58.68, 96.71, 319.55°) |
| OKLab | oklab(67.6% 0.183 -0.1764) |
| OKLCH | oklch(67.6% 0.254 316) |
| XYZ | xyz(47.0387, 26.6835, 95.5821) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.92
Heliotrope
#D94FF5
ΔE00 1.94
Bright Lavender
#C760FF
ΔE00 2.49
Easter Purple
#C071FE
ΔE00 5.72
Pinkish Purple
#D648D7
ΔE00 6.08
Light Urple
#B36FF6
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D152FD #7EFD52
analogous
#7B52FD #D152FD #FD52D4
triadic
#D152FD #FDD152 #52FDD1
tetradic
#D152FD #FD7B52 #7EFD52 #52D4FD
square
#D152FD #FD7B52 #7EFD52 #52D4FD
split-complementary
#D152FD #D4FD52 #52FD7B
monochromatic
#9D02D2 #C115FC #D152FD #E18EFE #F1CBFE
Accessibility & contrast
On white
3.31
#D152FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#D152FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D152FD
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D152FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D152FD | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#CE74A2
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d152fd; /* rgb */ color: rgb(209, 82, 253); /* oklch */ color: oklch(67.6% 0.254 316.0);
Tailwind
colors: {
custom: {
50: '#e38cff',
500: '#d152fd',
950: '#000000',
},
}SCSS
$custom: #d152fd; $custom-light: #e38cff; $custom-dark: #000000;
JSON
{
"hex": "#d152fd",
"rgb": {
"r": 209,
"g": 82,
"b": 253
},
"hsl": {
"h": 284.561,
"s": 97.714,
"l": 65.686
},
"oklch": {
"l": 0.67602,
"c": 0.25412,
"h": 316
},
"luminance": 0.26682
}Semantic roles & 50–950 ramp
primary
#D152FD
secondary
#C8F2B9
accent
#E6003B
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86