#D28DF2#D28DF2
#D28DF2 is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.9% C 0.157 H 314.5°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D28DF2 |
|---|---|
| RGB | rgb(210, 141, 242) |
| HSL | hsl(281, 80%, 75%) |
| HSV | hsv(281, 42%, 95%) |
| CMYK | cmyk(13.2%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.87, 43.46, -40.53) |
| CIE-LCH | lch(68.87, 59.43, 316.99°) |
| OKLab | oklab(74.93% 0.11 -0.1121) |
| OKLCH | oklch(74.93% 0.157 314.5) |
| XYZ | xyz(52.1277, 39.1634, 88.8005) |
| Luminance | 0.3916 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.00
Baby Purple
#CA9BF7
ΔE00 4.16
Lavender (survey)
#C79FEF
ΔE00 5.55
Lilac (survey)
#CEA2FD
ΔE00 5.59
Pastel Purple
#CAA0FF
ΔE00 5.69
Violet (CSS)
#EE82EE
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28DF2 #ADF28D
analogous
#9F8DF2 #D28DF2 #F28DE0
triadic
#D28DF2 #F2D28D #8DF2D2
tetradic
#D28DF2 #F29F8D #ADF28D #8DE0F2
square
#D28DF2 #F29F8D #ADF28D #8DE0F2
split-complementary
#D28DF2 #E0F28D #8DF29F
monochromatic
#A71FE5 #BC56EC #D28DF2 #E8C4F8 #F4E4FC
Accessibility & contrast
On white
2.38
#D28DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.83
#D28DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28DF2
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28DF2 | 1.00 | 2.38 | 8.83 | 8.83 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#D09BB4
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d28df2; /* rgb */ color: rgb(210, 141, 242); /* oklch */ color: oklch(74.9% 0.157 314.5);
Tailwind
colors: {
custom: {
50: '#e1aff6',
500: '#d28df2',
950: '#000000',
},
}SCSS
$custom: #d28df2; $custom-light: #e1aff6; $custom-dark: #000000;
JSON
{
"hex": "#d28df2",
"rgb": {
"r": 210,
"g": 141,
"b": 242
},
"hsl": {
"h": 280.99,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.7493,
"c": 0.15702,
"h": 314.5
},
"luminance": 0.39162
}Semantic roles & 50–950 ramp
primary
#D28DF2
secondary
#E0F4D7
accent
#DC0A4C
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85