#D476F6#D476F6
#D476F6 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.199 H 316.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D476F6 |
|---|---|
| RGB | rgb(212, 118, 246) |
| HSL | hsl(284, 88%, 71%) |
| HSV | hsv(284, 52%, 96%) |
| CMYK | cmyk(13.8%, 52%, 0%, 3.5%) |
| CIE-LAB | lab(64.65, 56.70, -49.34) |
| CIE-LCH | lch(64.65, 75.16, 318.97°) |
| OKLab | oklab(71.9% 0.1441 -0.1374) |
| OKLCH | oklch(71.9% 0.199 316.4) |
| XYZ | xyz(50.2619, 33.6094, 91.0105) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.86
Easter Purple
#C071FE
ΔE00 4.49
Bright Lilac
#C95EFB
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 5.68
Orchid
#DA70D6
ΔE00 5.95
Violet Pink
#FB5FFC
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D476F6 #98F676
analogous
#9476F6 #D476F6 #F676D8
triadic
#D476F6 #F6D476 #76F6D4
tetradic
#D476F6 #F69476 #98F676 #76D8F6
square
#D476F6 #F69476 #98F676 #76D8F6
split-complementary
#D476F6 #D8F676 #76F694
monochromatic
#AA0FE3 #C23DF2 #D476F6 #E6AFFA #F6E2FD
Accessibility & contrast
On white
2.72
#D476F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#D476F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D476F6
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D476F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D476F6 | 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)
#5A97FA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#D38AAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d476f6; /* rgb */ color: rgb(212, 118, 246); /* oklch */ color: oklch(71.9% 0.199 316.4);
Tailwind
colors: {
custom: {
50: '#e4a1f9',
500: '#d476f6',
950: '#000000',
},
}SCSS
$custom: #d476f6; $custom-light: #e4a1f9; $custom-dark: #000000;
JSON
{
"hex": "#d476f6",
"rgb": {
"r": 212,
"g": 118,
"b": 246
},
"hsl": {
"h": 284.063,
"s": 87.671,
"l": 71.373
},
"oklch": {
"l": 0.71901,
"c": 0.19913,
"h": 316.4
},
"luminance": 0.33608
}Semantic roles & 50–950 ramp
primary
#D476F6
secondary
#DCF5D3
accent
#E4013E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85