#D474DF#D474DF
#D474DF is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.180 H 323.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #D474DF |
|---|---|
| RGB | rgb(212, 116, 223) |
| HSL | hsl(294, 63%, 66%) |
| HSV | hsv(294, 48%, 87%) |
| CMYK | cmyk(4.9%, 48%, 0%, 12.5%) |
| CIE-LAB | lab(63.19, 53.24, -38.89) |
| CIE-LCH | lch(63.19, 65.93, 323.85°) |
| OKLab | oklab(70.47% 0.144 -0.1072) |
| OKLCH | oklch(70.47% 0.18 323.4) |
| XYZ | xyz(46.7147, 31.8177, 73.4785) |
| Luminance | 0.3182 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.30
Purply Pink
#F075E6
ΔE00 4.75
Orchid (survey)
#C875C4
ΔE00 4.82
Lavender Pink
#DD85D7
ΔE00 5.34
Violet (CSS)
#EE82EE
ΔE00 5.51
Light Magenta
#FA5FF7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D474DF #7FDF74
analogous
#9F74DF #D474DF #DF74B5
triadic
#D474DF #DFD474 #74DFD4
tetradic
#D474DF #DF9F74 #7FDF74 #74B5DF
square
#D474DF #DF9F74 #7FDF74 #74B5DF
split-complementary
#D474DF #B5DF74 #74DF9F
monochromatic
#A229B0 #C542D4 #D474DF #E3A6EA #F3D7F6
Accessibility & contrast
On white
2.85
#D474DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.36
#D474DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D474DF
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D474DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D474DF | 1.00 | 2.85 | 7.36 | 7.36 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6692E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#D7819F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #d474df; /* rgb */ color: rgb(212, 116, 223); /* oklch */ color: oklch(70.5% 0.180 323.4);
Tailwind
colors: {
custom: {
50: '#e39fe9',
500: '#d474df',
950: '#000000',
},
}SCSS
$custom: #d474df; $custom-light: #e39fe9; $custom-dark: #000000;
JSON
{
"hex": "#d474df",
"rgb": {
"r": 212,
"g": 116,
"b": 223
},
"hsl": {
"h": 293.832,
"s": 62.573,
"l": 66.471
},
"oklch": {
"l": 0.7047,
"c": 0.17952,
"h": 323.4
},
"luminance": 0.31816
}Semantic roles & 50–950 ramp
primary
#D474DF
secondary
#CAE9C6
accent
#CA1B2D
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84