#D28EF9#D28EF9
#D28EF9 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.4% C 0.163 H 312.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #D28EF9 |
|---|---|
| RGB | rgb(210, 142, 249) |
| HSL | hsl(278, 90%, 77%) |
| HSV | hsv(278, 43%, 98%) |
| CMYK | cmyk(15.7%, 43%, 0%, 2.4%) |
| CIE-LAB | lab(69.39, 44.38, -43.55) |
| CIE-LCH | lch(69.39, 62.18, 315.54°) |
| OKLab | oklab(75.42% 0.1098 -0.1208) |
| OKLCH | oklch(75.42% 0.163 312.3) |
| XYZ | xyz(53.3473, 39.8882, 94.4931) |
| Luminance | 0.3989 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.12
Baby Purple
#CA9BF7
ΔE00 3.83
Pastel Purple
#CAA0FF
ΔE00 5.10
Lilac (survey)
#CEA2FD
ΔE00 5.18
Lavender (survey)
#C79FEF
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28EF9 #B5F98E
analogous
#9D8EF9 #D28EF9 #F98EEB
triadic
#D28EF9 #F9D28E #8EF9D2
tetradic
#D28EF9 #F99D8E #B5F98E #8EEBF9
square
#D28EF9 #F99D8E #B5F98E #8EEBF9
split-complementary
#D28EF9 #EBF98E #8EF99D
monochromatic
#A41AF3 #BB54F6 #D28EF9 #E9C8FC #F3E2FD
Accessibility & contrast
On white
2.34
#D28EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#D28EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28EF9
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28EF9 | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A6FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#CE9EB8
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #d28ef9; /* rgb */ color: rgb(210, 142, 249); /* oklch */ color: oklch(75.4% 0.163 312.3);
Tailwind
colors: {
custom: {
50: '#e1b0fb',
500: '#d28ef9',
950: '#000000',
},
}SCSS
$custom: #d28ef9; $custom-light: #e1b0fb; $custom-dark: #000000;
JSON
{
"hex": "#d28ef9",
"rgb": {
"r": 210,
"g": 142,
"b": 249
},
"hsl": {
"h": 278.131,
"s": 89.916,
"l": 76.667
},
"oklch": {
"l": 0.75421,
"c": 0.16322,
"h": 312.3
},
"luminance": 0.39887
}Semantic roles & 50–950 ramp
primary
#D28EF9
secondary
#E1F6D5
accent
#E60054
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151117
muted
#848085