#DB9FFD#DB9FFD
#DB9FFD is a light, vivid violet. Relative luminance 0.469; OKLCH L 79.3% C 0.143 H 312.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #DB9FFD |
|---|---|
| RGB | rgb(219, 159, 253) |
| HSL | hsl(278, 96%, 81%) |
| HSV | hsv(278, 37%, 99%) |
| CMYK | cmyk(13.4%, 37.2%, 0%, 0.8%) |
| CIE-LAB | lab(74.16, 38.73, -38.21) |
| CIE-LCH | lch(74.16, 54.40, 315.38°) |
| OKLab | oklab(79.27% 0.0971 -0.1054) |
| OKLCH | oklch(79.27% 0.143 312.7) |
| XYZ | xyz(59.3382, 46.9492, 98.8457) |
| Luminance | 0.4695 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lilac (survey)
#CEA2FD
ΔE00 2.95
Baby Purple
#CA9BF7
ΔE00 3.14
Pastel Purple
#CAA0FF
ΔE00 3.78
Lavender (survey)
#C79FEF
ΔE00 3.97
Mauve
#E0B0FF
ΔE00 4.25
Pale Violet
#CEAEFA
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB9FFD #C1FD9F
analogous
#AC9FFD #DB9FFD #FD9FF0
triadic
#DB9FFD #FDDB9F #9FFDDB
tetradic
#DB9FFD #FDAC9F #C1FD9F #9FF0FD
square
#DB9FFD #FDAC9F #C1FD9F #9FF0FD
split-complementary
#DB9FFD #F0FD9F #9FFDAC
monochromatic
#AE27FB #C563FC #DB9FFD #F1DBFE #F4E1FE
Accessibility & contrast
On white
2.02
#DB9FFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.39
#DB9FFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DB9FFD
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB9FFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB9FFD | 1.00 | 2.02 | 10.39 | 10.39 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EB3FF
Deuteranopia (green-blind)
#9CB8FA
Tritanopia (blue-blind)
#D8ACC2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #db9ffd; /* rgb */ color: rgb(219, 159, 253); /* oklch */ color: oklch(79.3% 0.143 312.7);
Tailwind
colors: {
custom: {
50: '#e7bcfe',
500: '#db9ffd',
950: '#000000',
},
}SCSS
$custom: #db9ffd; $custom-light: #e7bcfe; $custom-dark: #000000;
JSON
{
"hex": "#db9ffd",
"rgb": {
"r": 219,
"g": 159,
"b": 253
},
"hsl": {
"h": 278.298,
"s": 95.918,
"l": 80.784
},
"oklch": {
"l": 0.79275,
"c": 0.14327,
"h": 312.7
},
"luminance": 0.46948
}Semantic roles & 50–950 ramp
primary
#DB9FFD
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161218
muted
#848186