#DB7FF8#DB7FF8
#DB7FF8 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.1% C 0.190 H 317.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #DB7FF8 |
|---|---|
| RGB | rgb(219, 127, 248) |
| HSL | hsl(286, 90%, 74%) |
| HSV | hsv(286, 49%, 97%) |
| CMYK | cmyk(11.7%, 48.8%, 0%, 2.7%) |
| CIE-LAB | lab(67.29, 54.45, -46.23) |
| CIE-LCH | lch(67.29, 71.42, 319.67°) |
| OKLab | oklab(74.06% 0.1406 -0.1282) |
| OKLCH | oklch(74.06% 0.19 317.6) |
| XYZ | xyz(53.7437, 37.0179, 93.1029) |
| Luminance | 0.3702 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.61
Light Purple
#BF77F6
ΔE00 5.54
Purply Pink
#F075E6
ΔE00 5.60
Liliac
#C48EFD
ΔE00 5.78
Orchid
#DA70D6
ΔE00 6.19
Violet Pink
#FB5FFC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB7FF8 #9CF87F
analogous
#9E7FF8 #DB7FF8 #F87FD8
triadic
#DB7FF8 #F8DB7F #7FF8DB
tetradic
#DB7FF8 #F89E7F #9CF87F #7FD8F8
square
#DB7FF8 #F89E7F #9CF87F #7FD8F8
split-complementary
#DB7FF8 #D8F87F #7FF89E
monochromatic
#B90DF0 #CB45F5 #DB7FF8 #EBB9FB #F7E2FD
Accessibility & contrast
On white
2.50
#DB7FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#DB7FF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DB7FF8
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB7FF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB7FF8 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#689EFC
Deuteranopia (green-blind)
#84A7F5
Tritanopia (blue-blind)
#DB90B0
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #db7ff8; /* rgb */ color: rgb(219, 127, 248); /* oklch */ color: oklch(74.1% 0.190 317.6);
Tailwind
colors: {
custom: {
50: '#e8a7fb',
500: '#db7ff8',
950: '#000000',
},
}SCSS
$custom: #db7ff8; $custom-light: #e8a7fb; $custom-dark: #000000;
JSON
{
"hex": "#db7ff8",
"rgb": {
"r": 219,
"g": 127,
"b": 248
},
"hsl": {
"h": 285.62,
"s": 89.63,
"l": 73.529
},
"oklch": {
"l": 0.74061,
"c": 0.19027,
"h": 317.6
},
"luminance": 0.37016
}Semantic roles & 50–950 ramp
primary
#DB7FF8
secondary
#DDF5D6
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85