#D477F2#D477F2
#D477F2 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.8% C 0.194 H 317.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D477F2 |
|---|---|
| RGB | rgb(212, 119, 242) |
| HSL | hsl(285, 83%, 71%) |
| HSV | hsv(285, 51%, 95%) |
| CMYK | cmyk(12.4%, 50.8%, 0%, 5.1%) |
| CIE-LAB | lab(64.65, 55.40, -47.15) |
| CIE-LCH | lch(64.65, 72.75, 319.60°) |
| OKLab | oklab(71.83% 0.1424 -0.131) |
| OKLCH | oklch(71.83% 0.194 317.4) |
| XYZ | xyz(49.7729, 33.6032, 87.8514) |
| Luminance | 0.3360 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.19
Easter Purple
#C071FE
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.36
Violet (CSS)
#EE82EE
ΔE00 5.94
Bright Lilac
#C95EFB
ΔE00 6.04
Purply Pink
#F075E6
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D477F2 #95F277
analogous
#9677F2 #D477F2 #F277D2
triadic
#D477F2 #F2D477 #77F2D4
tetradic
#D477F2 #F29677 #95F277 #77D2F2
square
#D477F2 #F29677 #95F277 #77D2F2
split-complementary
#D477F2 #D2F277 #77F296
monochromatic
#AA15DA #C23FED #D477F2 #E6AFF7 #F6E3FC
Accessibility & contrast
On white
2.72
#D477F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#D477F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D477F2
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D477F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D477F2 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#D389AA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d477f2; /* rgb */ color: rgb(212, 119, 242); /* oklch */ color: oklch(71.8% 0.194 317.4);
Tailwind
colors: {
custom: {
50: '#e3a1f7',
500: '#d477f2',
950: '#000000',
},
}SCSS
$custom: #d477f2; $custom-light: #e3a1f7; $custom-dark: #000000;
JSON
{
"hex": "#d477f2",
"rgb": {
"r": 212,
"g": 119,
"b": 242
},
"hsl": {
"h": 285.366,
"s": 82.55,
"l": 70.784
},
"oklch": {
"l": 0.71834,
"c": 0.19352,
"h": 317.4
},
"luminance": 0.33602
}Semantic roles & 50–950 ramp
primary
#D477F2
secondary
#DAF3D2
accent
#DF073B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85