#D28DEF#D28DEF
#D28DEF is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.8% C 0.154 H 315.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D28DEF |
|---|---|
| RGB | rgb(210, 141, 239) |
| HSL | hsl(282, 75%, 75%) |
| HSV | hsv(282, 41%, 94%) |
| CMYK | cmyk(12.1%, 41%, 0%, 6.3%) |
| CIE-LAB | lab(68.74, 42.84, -39.09) |
| CIE-LCH | lch(68.74, 57.99, 317.62°) |
| OKLab | oklab(74.79% 0.1094 -0.1079) |
| OKLCH | oklch(74.79% 0.154 315.4) |
| XYZ | xyz(51.6808, 38.9847, 86.4470) |
| Luminance | 0.3898 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.32
Liliac
#C48EFD
ΔE00 4.44
Lavender (survey)
#C79FEF
ΔE00 5.53
Violet (CSS)
#EE82EE
ΔE00 5.57
Lilac (survey)
#CEA2FD
ΔE00 5.75
Lavender Pink
#DD85D7
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28DEF #AAEF8D
analogous
#A18DEF #D28DEF #EF8DDB
triadic
#D28DEF #EFD28D #8DEFD2
tetradic
#D28DEF #EFA18D #AAEF8D #8DDBEF
square
#D28DEF #EFA18D #AAEF8D #8DDBEF
split-complementary
#D28DEF #DBEF8D #8DEFA1
monochromatic
#A822E0 #BD57E7 #D28DEF #E7C3F7 #F4E4FB
Accessibility & contrast
On white
2.39
#D28DEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#D28DEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28DEF
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28DEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28DEF | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#D19AB3
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d28def; /* rgb */ color: rgb(210, 141, 239); /* oklch */ color: oklch(74.8% 0.154 315.4);
Tailwind
colors: {
custom: {
50: '#e1aff4',
500: '#d28def',
950: '#000000',
},
}SCSS
$custom: #d28def; $custom-light: #e1aff4; $custom-dark: #000000;
JSON
{
"hex": "#d28def",
"rgb": {
"r": 210,
"g": 141,
"b": 239
},
"hsl": {
"h": 282.245,
"s": 75.385,
"l": 74.51
},
"oklch": {
"l": 0.7479,
"c": 0.15369,
"h": 315.4
},
"luminance": 0.38983
}Semantic roles & 50–950 ramp
primary
#D28DEF
secondary
#E0F3D8
accent
#D80E4A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85