#D28DFF#D28DFF
#D28DFF is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.6% C 0.172 H 310.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D28DFF |
|---|---|
| RGB | rgb(210, 141, 255) |
| HSL | hsl(276, 100%, 78%) |
| HSV | hsv(276, 45%, 100%) |
| CMYK | cmyk(17.6%, 44.7%, 0%, 0%) |
| CIE-LAB | lab(69.45, 46.18, -46.72) |
| CIE-LCH | lch(69.45, 65.69, 314.67°) |
| OKLab | oklab(75.55% 0.1121 -0.13) |
| OKLCH | oklch(75.55% 0.172 310.8) |
| XYZ | xyz(54.1500, 39.9723, 99.4512) |
| Luminance | 0.3997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.65
Baby Purple
#CA9BF7
ΔE00 4.22
Pastel Purple
#CAA0FF
ΔE00 5.20
Lilac (survey)
#CEA2FD
ΔE00 5.46
Light Purple
#BF77F6
ΔE00 6.04
Lavender (survey)
#C79FEF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D28DFF #BAFF8D
analogous
#998DFF #D28DFF #FF8DF3
triadic
#D28DFF #FFD28D #8DFFD2
tetradic
#D28DFF #FF998D #BAFF8D #8DF3FF
square
#D28DFF #FF998D #BAFF8D #8DF3FF
split-complementary
#D28DFF #F3FF8D #8DFF99
monochromatic
#A213FF #BA50FF #D28DFF #EACAFF #F3E0FF
Accessibility & contrast
On white
2.33
#D28DFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.99
#D28DFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D28DFF
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D28DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D28DFF | 1.00 | 2.33 | 8.99 | 8.99 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#86ABFC
Tritanopia (blue-blind)
#CD9FBA
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #d28dff; /* rgb */ color: rgb(210, 141, 255); /* oklch */ color: oklch(75.6% 0.172 310.8);
Tailwind
colors: {
custom: {
50: '#e2b0ff',
500: '#d28dff',
950: '#000000',
},
}SCSS
$custom: #d28dff; $custom-light: #e2b0ff; $custom-dark: #000000;
JSON
{
"hex": "#d28dff",
"rgb": {
"r": 210,
"g": 141,
"b": 255
},
"hsl": {
"h": 276.316,
"s": 100,
"l": 77.647
},
"oklch": {
"l": 0.75554,
"c": 0.17163,
"h": 310.8
},
"luminance": 0.39971
}Semantic roles & 50–950 ramp
primary
#D28DFF
secondary
#E2F7D4
accent
#E6005B
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86