#D476EC#D476EC
#D476EC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.4% C 0.189 H 319.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D476EC |
|---|---|
| RGB | rgb(212, 118, 236) |
| HSL | hsl(288, 76%, 69%) |
| HSV | hsv(288, 50%, 93%) |
| CMYK | cmyk(10.2%, 50%, 0%, 7.5%) |
| CIE-LAB | lab(64.17, 54.72, -44.58) |
| CIE-LCH | lch(64.17, 70.58, 320.83°) |
| OKLab | oklab(71.39% 0.1431 -0.1236) |
| OKLCH | oklch(71.39% 0.189 319.2) |
| XYZ | xyz(48.7682, 33.0119, 83.1436) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.40
Light Purple
#BF77F6
ΔE00 4.77
Purply Pink
#F075E6
ΔE00 5.51
Violet (CSS)
#EE82EE
ΔE00 5.64
Easter Purple
#C071FE
ΔE00 5.64
Light Magenta
#FA5FF7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D476EC #8EEC76
analogous
#9976EC #D476EC #EC76C9
triadic
#D476EC #ECD476 #76ECD4
tetradic
#D476EC #EC9976 #8EEC76 #76C9EC
square
#D476EC #EC9976 #8EEC76 #76C9EC
split-complementary
#D476EC #C9EC76 #76EC99
monochromatic
#A81CCB #C340E5 #D476EC #E5ACF3 #F6E1FB
Accessibility & contrast
On white
2.76
#D476EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#D476EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D476EC
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D476EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D476EC | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#D587A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d476ec; /* rgb */ color: rgb(212, 118, 236); /* oklch */ color: oklch(71.4% 0.189 319.2);
Tailwind
colors: {
custom: {
50: '#e3a1f2',
500: '#d476ec',
950: '#000000',
},
}SCSS
$custom: #d476ec; $custom-light: #e3a1f2; $custom-dark: #000000;
JSON
{
"hex": "#d476ec",
"rgb": {
"r": 212,
"g": 118,
"b": 236
},
"hsl": {
"h": 287.797,
"s": 75.641,
"l": 69.412
},
"oklch": {
"l": 0.71389,
"c": 0.18906,
"h": 319.2
},
"luminance": 0.3301
}Semantic roles & 50–950 ramp
primary
#D476EC
secondary
#D5F0CE
accent
#D80E37
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85