#D476EB#D476EB
#D476EB is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.188 H 319.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D476EB |
|---|---|
| RGB | rgb(212, 118, 235) |
| HSL | hsl(288, 75%, 69%) |
| HSV | hsv(288, 50%, 92%) |
| CMYK | cmyk(9.8%, 49.8%, 0%, 7.8%) |
| CIE-LAB | lab(64.12, 54.53, -44.10) |
| CIE-LCH | lch(64.12, 70.13, 321.04°) |
| OKLab | oklab(71.34% 0.143 -0.1222) |
| OKLCH | oklch(71.34% 0.188 319.5) |
| XYZ | xyz(48.6233, 32.9539, 82.3806) |
| Luminance | 0.3295 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.24
Light Purple
#BF77F6
ΔE00 4.89
Purply Pink
#F075E6
ΔE00 5.42
Violet (CSS)
#EE82EE
ΔE00 5.58
Easter Purple
#C071FE
ΔE00 5.77
Light Magenta
#FA5FF7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D476EB #8DEB76
analogous
#9A76EB #D476EB #EB76C8
triadic
#D476EB #EBD476 #76EBD4
tetradic
#D476EB #EB9A76 #8DEB76 #76C8EB
square
#D476EB #EB9A76 #8DEB76 #76C8EB
split-complementary
#D476EB #C8EB76 #76EB9A
monochromatic
#A71DC9 #C341E3 #D476EB #E5ABF3 #F6E1FB
Accessibility & contrast
On white
2.77
#D476EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#D476EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D476EB
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D476EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D476EB | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#D586A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d476eb; /* rgb */ color: rgb(212, 118, 235); /* oklch */ color: oklch(71.3% 0.188 319.5);
Tailwind
colors: {
custom: {
50: '#e3a1f2',
500: '#d476eb',
950: '#000000',
},
}SCSS
$custom: #d476eb; $custom-light: #e3a1f2; $custom-dark: #000000;
JSON
{
"hex": "#d476eb",
"rgb": {
"r": 212,
"g": 118,
"b": 235
},
"hsl": {
"h": 288.205,
"s": 74.522,
"l": 69.216
},
"oklch": {
"l": 0.71339,
"c": 0.18806,
"h": 319.5
},
"luminance": 0.32952
}Semantic roles & 50–950 ramp
primary
#D476EB
secondary
#D4EFCD
accent
#D70F36
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85