#DB7CFB#DB7CFB
#DB7CFB is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.198 H 317.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #DB7CFB |
|---|---|
| RGB | rgb(219, 124, 251) |
| HSL | hsl(285, 94%, 74%) |
| HSV | hsv(285, 51%, 98%) |
| CMYK | cmyk(12.7%, 50.6%, 0%, 1.6%) |
| CIE-LAB | lab(66.86, 56.54, -48.55) |
| CIE-LCH | lch(66.86, 74.53, 319.35°) |
| OKLab | oklab(73.79% 0.1449 -0.135) |
| OKLCH | oklch(73.79% 0.198 317) |
| XYZ | xyz(53.8311, 36.4422, 95.4465) |
| Luminance | 0.3644 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.13
Violet (CSS)
#EE82EE
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.85
Purply Pink
#F075E6
ΔE00 5.91
Liliac
#C48EFD
ΔE00 5.96
Violet Pink
#FB5FFC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB7CFB #9CFB7C
analogous
#9B7CFB #DB7CFB #FB7CDB
triadic
#DB7CFB #FBDB7C #7CFBDB
tetradic
#DB7CFB #FB9B7C #9CFB7C #7CDBFB
square
#DB7CFB #FB9B7C #9CFB7C #7CDBFB
split-complementary
#DB7CFB #DBFB7C #7CFB9B
monochromatic
#B907F5 #CB41F9 #DB7CFB #EBB7FD #F7E1FE
Accessibility & contrast
On white
2.53
#DB7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#DB7CFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DB7CFB
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB7CFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB7CFB | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#DA8FB0
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #db7cfb; /* rgb */ color: rgb(219, 124, 251); /* oklch */ color: oklch(73.8% 0.198 317.0);
Tailwind
colors: {
custom: {
50: '#e8a5fd',
500: '#db7cfb',
950: '#000000',
},
}SCSS
$custom: #db7cfb; $custom-light: #e8a5fd; $custom-dark: #000000;
JSON
{
"hex": "#db7cfb",
"rgb": {
"r": 219,
"g": 124,
"b": 251
},
"hsl": {
"h": 284.882,
"s": 94.074,
"l": 73.529
},
"oklch": {
"l": 0.73786,
"c": 0.19802,
"h": 317
},
"luminance": 0.3644
}Semantic roles & 50–950 ramp
primary
#DB7CFB
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86