#D477F9#D477F9
#D477F9 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.2% C 0.201 H 315.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D477F9 |
|---|---|
| RGB | rgb(212, 119, 249) |
| HSL | hsl(283, 92%, 72%) |
| HSV | hsv(283, 52%, 98%) |
| CMYK | cmyk(14.9%, 52.2%, 0%, 2.4%) |
| CIE-LAB | lab(64.99, 56.80, -50.46) |
| CIE-LCH | lch(64.99, 75.98, 318.38°) |
| OKLab | oklab(72.2% 0.1431 -0.1406) |
| OKLCH | oklch(72.2% 0.201 315.5) |
| XYZ | xyz(50.8444, 34.0318, 93.4946) |
| Luminance | 0.3403 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.72
Easter Purple
#C071FE
ΔE00 4.31
Bright Lavender
#C760FF
ΔE00 5.68
Bright Lilac
#C95EFB
ΔE00 5.70
Liliac
#C48EFD
ΔE00 6.09
Light Urple
#B36FF6
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D477F9 #9CF977
analogous
#9377F9 #D477F9 #F977DD
triadic
#D477F9 #F9D477 #77F9D4
tetradic
#D477F9 #F99377 #9CF977 #77DDF9
square
#D477F9 #F99377 #9CF977 #77DDF9
split-complementary
#D477F9 #DDF977 #77F993
monochromatic
#AB0AEB #C13CF6 #D477F9 #E7B2FC #F6E2FE
Accessibility & contrast
On white
2.69
#D477F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#D477F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D477F9
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D477F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D477F9 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5998FD
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#D28BAD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #d477f9; /* rgb */ color: rgb(212, 119, 249); /* oklch */ color: oklch(72.2% 0.201 315.5);
Tailwind
colors: {
custom: {
50: '#e4a1fc',
500: '#d477f9',
950: '#000000',
},
}SCSS
$custom: #d477f9; $custom-light: #e4a1fc; $custom-dark: #000000;
JSON
{
"hex": "#d477f9",
"rgb": {
"r": 212,
"g": 119,
"b": 249
},
"hsl": {
"h": 282.923,
"s": 91.549,
"l": 72.157
},
"oklch": {
"l": 0.72197,
"c": 0.20065,
"h": 315.5
},
"luminance": 0.3403
}Semantic roles & 50–950 ramp
primary
#D477F9
secondary
#DEF6D5
accent
#E60041
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85