#D474E8#D474E8
#D474E8 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.188 H 320.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #D474E8 |
|---|---|
| RGB | rgb(212, 116, 232) |
| HSL | hsl(290, 72%, 68%) |
| HSV | hsv(290, 50%, 91%) |
| CMYK | cmyk(8.6%, 50%, 0%, 9%) |
| CIE-LAB | lab(63.60, 54.95, -43.25) |
| CIE-LCH | lch(63.60, 69.93, 321.79°) |
| OKLab | oklab(70.91% 0.1453 -0.1197) |
| OKLCH | oklch(70.91% 0.188 320.5) |
| XYZ | xyz(47.9605, 32.3160, 80.0396) |
| Luminance | 0.3231 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.73
Light Purple
#BF77F6
ΔE00 5.21
Purply Pink
#F075E6
ΔE00 5.27
Violet (CSS)
#EE82EE
ΔE00 5.70
Light Magenta
#FA5FF7
ΔE00 6.00
Easter Purple
#C071FE
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D474E8 #88E874
analogous
#9A74E8 #D474E8 #E874C2
triadic
#D474E8 #E8D474 #74E8D4
tetradic
#D474E8 #E89A74 #88E874 #74C2E8
square
#D474E8 #E89A74 #88E874 #74C2E8
split-complementary
#D474E8 #C2E874 #74E89A
monochromatic
#A620C2 #C43FDF #D474E8 #E4A9F1 #F4DDF9
Accessibility & contrast
On white
2.81
#D474E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#D474E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D474E8
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D474E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D474E8 | 1.00 | 2.81 | 7.46 | 7.46 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6193EC
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#D684A4
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #d474e8; /* rgb */ color: rgb(212, 116, 232); /* oklch */ color: oklch(70.9% 0.188 320.5);
Tailwind
colors: {
custom: {
50: '#e39ff0',
500: '#d474e8',
950: '#000000',
},
}SCSS
$custom: #d474e8; $custom-light: #e39ff0; $custom-dark: #000000;
JSON
{
"hex": "#d474e8",
"rgb": {
"r": 212,
"g": 116,
"b": 232
},
"hsl": {
"h": 289.655,
"s": 71.605,
"l": 68.235
},
"oklch": {
"l": 0.70909,
"c": 0.18826,
"h": 320.5
},
"luminance": 0.32314
}Semantic roles & 50–950 ramp
primary
#D474E8
secondary
#D0EDCA
accent
#D41233
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84