#D778F6#D778F6
#D778F6 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.5% C 0.197 H 317.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D778F6 |
|---|---|
| RGB | rgb(215, 120, 246) |
| HSL | hsl(285, 88%, 72%) |
| HSV | hsv(285, 51%, 96%) |
| CMYK | cmyk(12.6%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(65.39, 56.49, -48.16) |
| CIE-LCH | lch(65.39, 74.23, 319.55°) |
| OKLab | oklab(72.52% 0.145 -0.1339) |
| OKLCH | oklch(72.52% 0.197 317.3) |
| XYZ | xyz(51.3730, 34.5356, 91.1308) |
| Luminance | 0.3453 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.47
Easter Purple
#C071FE
ΔE00 5.18
Violet (CSS)
#EE82EE
ΔE00 5.68
Orchid
#DA70D6
ΔE00 5.74
Purply Pink
#F075E6
ΔE00 5.96
Violet Pink
#FB5FFC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D778F6 #97F678
analogous
#9878F6 #D778F6 #F678D6
triadic
#D778F6 #F6D778 #78F6D7
tetradic
#D778F6 #F69878 #97F678 #78D6F6
square
#D778F6 #F69878 #97F678 #78D6F6
split-complementary
#D778F6 #D6F678 #78F698
monochromatic
#B00FE4 #C63FF2 #D778F6 #E8B1FA #F6E2FD
Accessibility & contrast
On white
2.66
#D778F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#D778F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D778F6
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D778F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D778F6 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E99FA
Deuteranopia (green-blind)
#7CA2F3
Tritanopia (blue-blind)
#D68BAC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #d778f6; /* rgb */ color: rgb(215, 120, 246); /* oklch */ color: oklch(72.5% 0.197 317.3);
Tailwind
colors: {
custom: {
50: '#e6a2f9',
500: '#d778f6',
950: '#000000',
},
}SCSS
$custom: #d778f6; $custom-light: #e6a2f9; $custom-dark: #000000;
JSON
{
"hex": "#d778f6",
"rgb": {
"r": 215,
"g": 120,
"b": 246
},
"hsl": {
"h": 285.238,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.72519,
"c": 0.19738,
"h": 317.3
},
"luminance": 0.34534
}Semantic roles & 50–950 ramp
primary
#D778F6
secondary
#DDF5D5
accent
#E40139
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85