#DC7FFA#DC7FFA
#DC7FFA is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.3% C 0.193 H 317.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #DC7FFA |
|---|---|
| RGB | rgb(220, 127, 250) |
| HSL | hsl(285, 92%, 74%) |
| HSV | hsv(285, 49%, 98%) |
| CMYK | cmyk(12%, 49.2%, 0%, 2%) |
| CIE-LAB | lab(67.50, 55.11, -46.98) |
| CIE-LCH | lch(67.50, 72.42, 319.55°) |
| OKLab | oklab(74.27% 0.142 -0.1304) |
| OKLCH | oklch(74.27% 0.193 317.4) |
| XYZ | xyz(54.3574, 37.2983, 94.7599) |
| Luminance | 0.3730 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.68
Light Purple
#BF77F6
ΔE00 5.59
Purply Pink
#F075E6
ΔE00 5.70
Liliac
#C48EFD
ΔE00 5.79
Violet Pink
#FB5FFC
ΔE00 6.30
Orchid
#DA70D6
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC7FFA #9DFA7F
analogous
#9F7FFA #DC7FFA #FA7FDB
triadic
#DC7FFA #FADC7F #7FFADC
tetradic
#DC7FFA #FA9F7F #9DFA7F #7FDBFA
square
#DC7FFA #FA9F7F #9DFA7F #7FDBFA
split-complementary
#DC7FFA #DBFA7F #7FFA9F
monochromatic
#BC0AF5 #CC44F8 #DC7FFA #ECBAFC #F7E2FE
Accessibility & contrast
On white
2.48
#DC7FFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#DC7FFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC7FFA
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC7FFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC7FFA | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#DB91B1
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #dc7ffa; /* rgb */ color: rgb(220, 127, 250); /* oklch */ color: oklch(74.3% 0.193 317.4);
Tailwind
colors: {
custom: {
50: '#e9a7fc',
500: '#dc7ffa',
950: '#000000',
},
}SCSS
$custom: #dc7ffa; $custom-light: #e9a7fc; $custom-dark: #000000;
JSON
{
"hex": "#dc7ffa",
"rgb": {
"r": 220,
"g": 127,
"b": 250
},
"hsl": {
"h": 285.366,
"s": 92.481,
"l": 73.922
},
"oklch": {
"l": 0.74272,
"c": 0.19277,
"h": 317.4
},
"luminance": 0.37297
}Semantic roles & 50–950 ramp
primary
#DC7FFA
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85