#D28FF9#D28FF9
#D28FF9 is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.6% C 0.162 H 312.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D28FF9 |
|---|---|
| RGB | rgb(210, 143, 249) |
| HSL | hsl(278, 90%, 77%) |
| HSV | hsv(278, 43%, 98%) |
| CMYK | cmyk(15.7%, 42.6%, 0%, 2.4%) |
| CIE-LAB | lab(69.60, 43.85, -43.21) |
| CIE-LCH | lch(69.60, 61.56, 315.42°) |
| OKLab | oklab(75.58% 0.1084 -0.1198) |
| OKLCH | oklch(75.58% 0.162 312.1) |
| XYZ | xyz(53.4967, 40.1871, 94.5429) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.13
Baby Purple
#CA9BF7
ΔE00 3.61
Pastel Purple
#CAA0FF
ΔE00 4.90
Lilac (survey)
#CEA2FD
ΔE00 4.95
Lavender (survey)
#C79FEF
ΔE00 5.36
Violet (CSS)
#EE82EE
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28FF9 #B6F98F
analogous
#9D8FF9 #D28FF9 #F98FEB
triadic
#D28FF9 #F9D28F #8FF9D2
tetradic
#D28FF9 #F99D8F #B6F98F #8FEBF9
square
#D28FF9 #F99D8F #B6F98F #8FEBF9
split-complementary
#D28FF9 #EBF98F #8FF99D
monochromatic
#A31BF3 #BB55F6 #D28FF9 #E9C9FC #F3E2FD
Accessibility & contrast
On white
2.32
#D28FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#D28FF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28FF9
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28FF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28FF9 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA6FD
Deuteranopia (green-blind)
#8BACF6
Tritanopia (blue-blind)
#CE9FB8
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d28ff9; /* rgb */ color: rgb(210, 143, 249); /* oklch */ color: oklch(75.6% 0.162 312.1);
Tailwind
colors: {
custom: {
50: '#e1b1fb',
500: '#d28ff9',
950: '#000000',
},
}SCSS
$custom: #d28ff9; $custom-light: #e1b1fb; $custom-dark: #000000;
JSON
{
"hex": "#d28ff9",
"rgb": {
"r": 210,
"g": 143,
"b": 249
},
"hsl": {
"h": 277.925,
"s": 89.831,
"l": 76.863
},
"oklch": {
"l": 0.7558,
"c": 0.16158,
"h": 312.1
},
"luminance": 0.40186
}Semantic roles & 50–950 ramp
primary
#D28FF9
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085