#D28DFA#D28DFA
#D28DFA is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.3% C 0.166 H 312.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D28DFA |
|---|---|
| RGB | rgb(210, 141, 250) |
| HSL | hsl(278, 92%, 77%) |
| HSV | hsv(278, 44%, 98%) |
| CMYK | cmyk(16%, 43.6%, 0%, 2%) |
| CIE-LAB | lab(69.22, 45.12, -44.35) |
| CIE-LCH | lch(69.22, 63.27, 315.49°) |
| OKLab | oklab(75.31% 0.1113 -0.1231) |
| OKLCH | oklch(75.31% 0.166 312.1) |
| XYZ | xyz(53.3556, 39.6546, 95.2673) |
| Luminance | 0.3965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.03
Baby Purple
#CA9BF7
ΔE00 4.06
Pastel Purple
#CAA0FF
ΔE00 5.28
Lilac (survey)
#CEA2FD
ΔE00 5.41
Lavender (survey)
#C79FEF
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28DFA #B5FA8D
analogous
#9C8DFA #D28DFA #FA8DEB
triadic
#D28DFA #FAD28D #8DFAD2
tetradic
#D28DFA #FA9C8D #B5FA8D #8DEBFA
square
#D28DFA #FA9C8D #B5FA8D #8DEBFA
split-complementary
#D28DFA #EBFA8D #8DFA9C
monochromatic
#A418F5 #BB52F7 #D28DFA #E9C8FD #F3E2FE
Accessibility & contrast
On white
2.35
#D28DFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.93
#D28DFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28DFA
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28DFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28DFA | 1.00 | 2.35 | 8.93 | 8.93 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A5FE
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#CE9DB8
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #d28dfa; /* rgb */ color: rgb(210, 141, 250); /* oklch */ color: oklch(75.3% 0.166 312.1);
Tailwind
colors: {
custom: {
50: '#e1b0fc',
500: '#d28dfa',
950: '#000000',
},
}SCSS
$custom: #d28dfa; $custom-light: #e1b0fc; $custom-dark: #000000;
JSON
{
"hex": "#d28dfa",
"rgb": {
"r": 210,
"g": 141,
"b": 250
},
"hsl": {
"h": 277.982,
"s": 91.597,
"l": 76.667
},
"oklch": {
"l": 0.7531,
"c": 0.16598,
"h": 312.1
},
"luminance": 0.39654
}Semantic roles & 50–950 ramp
primary
#D28DFA
secondary
#E1F6D5
accent
#E60054
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85