#D477E2#D477E2
#D477E2 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.178 H 322.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D477E2 |
|---|---|
| RGB | rgb(212, 119, 226) |
| HSL | hsl(292, 65%, 68%) |
| HSV | hsv(292, 47%, 89%) |
| CMYK | cmyk(6.2%, 47.3%, 0%, 11.4%) |
| CIE-LAB | lab(63.90, 52.30, -39.45) |
| CIE-LCH | lch(63.90, 65.51, 322.97°) |
| OKLab | oklab(71.04% 0.1404 -0.1088) |
| OKLCH | oklch(71.04% 0.178 322.2) |
| XYZ | xyz(47.4742, 32.6837, 75.7446) |
| Luminance | 0.3268 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.89
Purply Pink
#F075E6
ΔE00 4.74
Violet (CSS)
#EE82EE
ΔE00 5.13
Lavender Pink
#DD85D7
ΔE00 5.16
Orchid (survey)
#C875C4
ΔE00 5.24
Light Purple
#BF77F6
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D477E2 #85E277
analogous
#9F77E2 #D477E2 #E277BA
triadic
#D477E2 #E2D477 #77E2D4
tetradic
#D477E2 #E29F77 #85E277 #77BAE2
square
#D477E2 #E29F77 #85E277 #77BAE2
split-complementary
#D477E2 #BAE277 #77E29F
monochromatic
#A527B7 #C445D7 #D477E2 #E4A9ED #F4DCF8
Accessibility & contrast
On white
2.79
#D477E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.54
#D477E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D477E2
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D477E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D477E2 | 1.00 | 2.79 | 7.54 | 7.54 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6894E6
Deuteranopia (green-blind)
#839FDF
Tritanopia (blue-blind)
#D784A2
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d477e2; /* rgb */ color: rgb(212, 119, 226); /* oklch */ color: oklch(71.0% 0.178 322.2);
Tailwind
colors: {
custom: {
50: '#e3a1eb',
500: '#d477e2',
950: '#000000',
},
}SCSS
$custom: #d477e2; $custom-light: #e3a1eb; $custom-dark: #000000;
JSON
{
"hex": "#d477e2",
"rgb": {
"r": 212,
"g": 119,
"b": 226
},
"hsl": {
"h": 292.15,
"s": 64.848,
"l": 67.647
},
"oklch": {
"l": 0.71042,
"c": 0.17757,
"h": 322.2
},
"luminance": 0.32682
}Semantic roles & 50–950 ramp
primary
#D477E2
secondary
#CEEBCA
accent
#CD1930
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84