#D28CFA#D28CFA
#D28CFA is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.2% C 0.168 H 312.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D28CFA |
|---|---|
| RGB | rgb(210, 140, 250) |
| HSL | hsl(278, 92%, 76%) |
| HSV | hsv(278, 44%, 98%) |
| CMYK | cmyk(16%, 44%, 0%, 2%) |
| CIE-LAB | lab(69.01, 45.65, -44.68) |
| CIE-LCH | lch(69.01, 63.88, 315.61°) |
| OKLab | oklab(75.15% 0.1127 -0.1241) |
| OKLCH | oklch(75.15% 0.168 312.3) |
| XYZ | xyz(53.2088, 39.3610, 95.2184) |
| Luminance | 0.3936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.05
Baby Purple
#CA9BF7
ΔE00 4.27
Pastel Purple
#CAA0FF
ΔE00 5.49
Lilac (survey)
#CEA2FD
ΔE00 5.64
Light Purple
#BF77F6
ΔE00 5.99
Lavender (survey)
#C79FEF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28CFA #B4FA8C
analogous
#9B8CFA #D28CFA #FA8CEB
triadic
#D28CFA #FAD28C #8CFAD2
tetradic
#D28CFA #FA9B8C #B4FA8C #8CEBFA
square
#D28CFA #FA9B8C #B4FA8C #8CEBFA
split-complementary
#D28CFA #EBFA8C #8CFA9B
monochromatic
#A417F5 #BB51F7 #D28CFA #E9C7FD #F4E2FE
Accessibility & contrast
On white
2.37
#D28CFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#D28CFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28CFA
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28CFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28CFA | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#CE9CB7
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #d28cfa; /* rgb */ color: rgb(210, 140, 250); /* oklch */ color: oklch(75.2% 0.168 312.3);
Tailwind
colors: {
custom: {
50: '#e1affc',
500: '#d28cfa',
950: '#000000',
},
}SCSS
$custom: #d28cfa; $custom-light: #e1affc; $custom-dark: #000000;
JSON
{
"hex": "#d28cfa",
"rgb": {
"r": 210,
"g": 140,
"b": 250
},
"hsl": {
"h": 278.182,
"s": 91.667,
"l": 76.471
},
"oklch": {
"l": 0.75152,
"c": 0.16761,
"h": 312.3
},
"luminance": 0.3936
}Semantic roles & 50–950 ramp
primary
#D28CFA
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85