#D477F3#D477F3
#D477F3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.195 H 317.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D477F3 |
|---|---|
| RGB | rgb(212, 119, 243) |
| HSL | hsl(285, 84%, 71%) |
| HSV | hsv(285, 51%, 95%) |
| CMYK | cmyk(12.8%, 51%, 0%, 4.7%) |
| CIE-LAB | lab(64.69, 55.60, -47.62) |
| CIE-LCH | lch(64.69, 73.21, 319.42°) |
| OKLab | oklab(71.89% 0.1425 -0.1324) |
| OKLCH | oklch(71.89% 0.195 317.1) |
| XYZ | xyz(49.9235, 33.6634, 88.6445) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 4.88
Orchid
#DA70D6
ΔE00 5.52
Bright Lilac
#C95EFB
ΔE00 5.98
Violet (CSS)
#EE82EE
ΔE00 6.02
Bright Lavender
#C760FF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D477F3 #96F377
analogous
#9677F3 #D477F3 #F377D4
triadic
#D477F3 #F3D477 #77F3D4
tetradic
#D477F3 #F39677 #96F377 #77D4F3
square
#D477F3 #F39677 #96F377 #77D4F3
split-complementary
#D477F3 #D4F377 #77F396
monochromatic
#AA13DC #C23FEE #D477F3 #E6AFF8 #F6E3FD
Accessibility & contrast
On white
2.72
#D477F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#D477F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D477F3
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D477F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D477F3 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#7AA0F0
Tritanopia (blue-blind)
#D38AAA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d477f3; /* rgb */ color: rgb(212, 119, 243); /* oklch */ color: oklch(71.9% 0.195 317.1);
Tailwind
colors: {
custom: {
50: '#e4a1f7',
500: '#d477f3',
950: '#000000',
},
}SCSS
$custom: #d477f3; $custom-light: #e4a1f7; $custom-dark: #000000;
JSON
{
"hex": "#d477f3",
"rgb": {
"r": 212,
"g": 119,
"b": 243
},
"hsl": {
"h": 285,
"s": 83.784,
"l": 70.98
},
"oklch": {
"l": 0.71885,
"c": 0.19454,
"h": 317.1
},
"luminance": 0.33662
}Semantic roles & 50–950 ramp
primary
#D477F3
secondary
#DBF3D2
accent
#E0053C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85