#DC7DF5#DC7DF5
#DC7DF5 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.7% C 0.191 H 319.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7DF5 |
|---|---|
| RGB | rgb(220, 125, 245) |
| HSL | hsl(288, 86%, 73%) |
| HSV | hsv(288, 49%, 96%) |
| CMYK | cmyk(10.2%, 49%, 0%, 3.9%) |
| CIE-LAB | lab(66.88, 55.14, -45.21) |
| CIE-LCH | lch(66.88, 71.30, 320.65°) |
| OKLab | oklab(73.74% 0.144 -0.1253) |
| OKLCH | oklch(73.74% 0.191 319) |
| XYZ | xyz(53.3281, 36.4774, 90.6002) |
| Luminance | 0.3648 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.26
Purply Pink
#F075E6
ΔE00 5.03
Orchid
#DA70D6
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.74
Violet Pink
#FB5FFC
ΔE00 5.93
Light Magenta
#FA5FF7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7DF5 #96F57D
analogous
#A07DF5 #DC7DF5 #F57DD2
triadic
#DC7DF5 #F5DC7D #7DF5DC
tetradic
#DC7DF5 #F5A07D #96F57D #7DD2F5
square
#DC7DF5 #F5A07D #96F57D #7DD2F5
split-complementary
#DC7DF5 #D2F57D #7DF5A0
monochromatic
#BA12E6 #CD44F1 #DC7DF5 #EBB6F9 #F7E3FD
Accessibility & contrast
On white
2.53
#DC7DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#DC7DF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7DF5
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7DF5 | 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)
#689CF9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#DD8EAE
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #dc7df5; /* rgb */ color: rgb(220, 125, 245); /* oklch */ color: oklch(73.7% 0.191 319.0);
Tailwind
colors: {
custom: {
50: '#e9a5f9',
500: '#dc7df5',
950: '#000000',
},
}SCSS
$custom: #dc7df5; $custom-light: #e9a5f9; $custom-dark: #000000;
JSON
{
"hex": "#dc7df5",
"rgb": {
"r": 220,
"g": 125,
"b": 245
},
"hsl": {
"h": 287.5,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.73739,
"c": 0.19088,
"h": 319
},
"luminance": 0.36475
}Semantic roles & 50–950 ramp
primary
#DC7DF5
secondary
#DDF5D6
accent
#E20332
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85