#DB7CFC#DB7CFC
#DB7CFC is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.199 H 316.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #DB7CFC |
|---|---|
| RGB | rgb(219, 124, 252) |
| HSL | hsl(285, 96%, 74%) |
| HSV | hsv(285, 51%, 99%) |
| CMYK | cmyk(13.1%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(66.90, 56.74, -49.03) |
| CIE-LCH | lch(66.90, 74.99, 319.17°) |
| OKLab | oklab(73.84% 0.145 -0.1363) |
| OKLCH | oklch(73.84% 0.199 316.8) |
| XYZ | xyz(53.9892, 36.5054, 96.2789) |
| Luminance | 0.3650 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 5.09
Violet (CSS)
#EE82EE
ΔE00 5.29
Easter Purple
#C071FE
ΔE00 5.78
Liliac
#C48EFD
ΔE00 5.91
Purply Pink
#F075E6
ΔE00 6.04
Violet Pink
#FB5FFC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DB7CFC #9DFC7C
analogous
#9B7CFC #DB7CFC #FC7CDD
triadic
#DB7CFC #FCDB7C #7CFCDB
tetradic
#DB7CFC #FC9B7C #9DFC7C #7CDDFC
square
#DB7CFC #FC9B7C #9DFC7C #7CDDFC
split-complementary
#DB7CFC #DDFC7C #7CFC9B
monochromatic
#B906F8 #CB40FB #DB7CFC #EBB8FD #F7E1FE
Accessibility & contrast
On white
2.53
#DB7CFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#DB7CFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DB7CFC
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DB7CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DB7CFC | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#DA8FB1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #db7cfc; /* rgb */ color: rgb(219, 124, 252); /* oklch */ color: oklch(73.8% 0.199 316.8);
Tailwind
colors: {
custom: {
50: '#e8a5fe',
500: '#db7cfc',
950: '#000000',
},
}SCSS
$custom: #db7cfc; $custom-light: #e8a5fe; $custom-dark: #000000;
JSON
{
"hex": "#db7cfc",
"rgb": {
"r": 219,
"g": 124,
"b": 252
},
"hsl": {
"h": 284.531,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.73837,
"c": 0.19903,
"h": 316.8
},
"luminance": 0.36504
}Semantic roles & 50–950 ramp
primary
#DB7CFC
secondary
#DDF7D4
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86