#D477F6#D477F6
#D477F6 is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.198 H 316.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D477F6 |
|---|---|
| RGB | rgb(212, 119, 246) |
| HSL | hsl(284, 88%, 72%) |
| HSV | hsv(284, 52%, 96%) |
| CMYK | cmyk(13.8%, 51.6%, 0%, 3.5%) |
| CIE-LAB | lab(64.84, 56.20, -49.04) |
| CIE-LCH | lch(64.84, 74.59, 318.89°) |
| OKLab | oklab(72.04% 0.1428 -0.1365) |
| OKLCH | oklch(72.04% 0.198 316.3) |
| XYZ | xyz(50.3803, 33.8461, 91.0500) |
| Luminance | 0.3384 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.89
Easter Purple
#C071FE
ΔE00 4.58
Bright Lilac
#C95EFB
ΔE00 5.82
Bright Lavender
#C760FF
ΔE00 5.86
Orchid
#DA70D6
ΔE00 5.97
Liliac
#C48EFD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D477F6 #99F677
analogous
#9577F6 #D477F6 #F677D9
triadic
#D477F6 #F6D477 #77F6D4
tetradic
#D477F6 #F69577 #99F677 #77D9F6
square
#D477F6 #F69577 #99F677 #77D9F6
split-complementary
#D477F6 #D9F677 #77F695
monochromatic
#AB0FE4 #C23EF2 #D477F6 #E6B0FA #F6E2FD
Accessibility & contrast
On white
2.70
#D477F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#D477F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D477F6
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D477F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D477F6 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B98FA
Deuteranopia (green-blind)
#79A0F3
Tritanopia (blue-blind)
#D28AAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d477f6; /* rgb */ color: rgb(212, 119, 246); /* oklch */ color: oklch(72.0% 0.198 316.3);
Tailwind
colors: {
custom: {
50: '#e4a1f9',
500: '#d477f6',
950: '#000000',
},
}SCSS
$custom: #d477f6; $custom-light: #e4a1f9; $custom-dark: #000000;
JSON
{
"hex": "#d477f6",
"rgb": {
"r": 212,
"g": 119,
"b": 246
},
"hsl": {
"h": 283.937,
"s": 87.586,
"l": 71.569
},
"oklch": {
"l": 0.7204,
"c": 0.19759,
"h": 316.3
},
"luminance": 0.33845
}Semantic roles & 50–950 ramp
primary
#D477F6
secondary
#DDF5D4
accent
#E4013E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85