#D28FED#D28FED
#D28FED is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.0% C 0.148 H 315.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D28FED |
|---|---|
| RGB | rgb(210, 143, 237) |
| HSL | hsl(283, 72%, 75%) |
| HSV | hsv(283, 40%, 93%) |
| CMYK | cmyk(11.4%, 39.7%, 0%, 7.1%) |
| CIE-LAB | lab(69.08, 41.37, -37.46) |
| CIE-LCH | lch(69.08, 55.80, 317.84°) |
| OKLab | oklab(75.02% 0.1062 -0.1033) |
| OKLCH | oklch(75.02% 0.148 315.8) |
| XYZ | xyz(51.6846, 39.4623, 84.9987) |
| Luminance | 0.3946 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.13
Liliac
#C48EFD
ΔE00 4.82
Lavender (survey)
#C79FEF
ΔE00 5.12
Lilac (survey)
#CEA2FD
ΔE00 5.50
Lavender Pink
#DD85D7
ΔE00 5.62
Violet (CSS)
#EE82EE
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28FED #AAED8F
analogous
#A38FED #D28FED #ED8FD9
triadic
#D28FED #EDD28F #8FEDD2
tetradic
#D28FED #EDA38F #AAED8F #8FD9ED
square
#D28FED #EDA38F #AAED8F #8FD9ED
split-complementary
#D28FED #D9ED8F #8FEDA3
monochromatic
#A826DC #BD5AE5 #D28FED #E7C4F5 #F4E5FB
Accessibility & contrast
On white
2.36
#D28FED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#D28FED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28FED
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28FED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28FED | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA5F0
Deuteranopia (green-blind)
#90ABEA
Tritanopia (blue-blind)
#D19CB3
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #d28fed; /* rgb */ color: rgb(210, 143, 237); /* oklch */ color: oklch(75.0% 0.148 315.8);
Tailwind
colors: {
custom: {
50: '#e1b1f3',
500: '#d28fed',
950: '#000000',
},
}SCSS
$custom: #d28fed; $custom-light: #e1b1f3; $custom-dark: #000000;
JSON
{
"hex": "#d28fed",
"rgb": {
"r": 210,
"g": 143,
"b": 237
},
"hsl": {
"h": 282.766,
"s": 72.308,
"l": 74.51
},
"oklch": {
"l": 0.75021,
"c": 0.14811,
"h": 315.8
},
"luminance": 0.39461
}Semantic roles & 50–950 ramp
primary
#D28FED
secondary
#E0F2D9
accent
#D41149
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085