#D474F0#D474F0
#D474F0 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.196 H 318.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D474F0 |
|---|---|
| RGB | rgb(212, 116, 240) |
| HSL | hsl(286, 81%, 70%) |
| HSV | hsv(286, 52%, 94%) |
| CMYK | cmyk(11.7%, 51.7%, 0%, 5.9%) |
| CIE-LAB | lab(63.98, 56.50, -47.09) |
| CIE-LCH | lch(63.98, 73.55, 320.19°) |
| OKLab | oklab(71.31% 0.1462 -0.1308) |
| OKLCH | oklch(71.31% 0.196 318.2) |
| XYZ | xyz(49.1228, 32.7809, 86.1609) |
| Luminance | 0.3278 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.32
Easter Purple
#C071FE
ΔE00 4.99
Orchid
#DA70D6
ΔE00 5.00
Bright Lilac
#C95EFB
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 5.81
Purply Pink
#F075E6
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D474F0 #90F074
analogous
#9674F0 #D474F0 #F074CE
triadic
#D474F0 #F0D474 #74F0D4
tetradic
#D474F0 #F09674 #90F074 #74CEF0
square
#D474F0 #F09674 #90F074 #74CEF0
split-complementary
#D474F0 #CEF074 #74F096
monochromatic
#A817D3 #C33DEA #D474F0 #E5ABF6 #F6E2FC
Accessibility & contrast
On white
2.78
#D474F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#D474F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D474F0
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D474F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D474F0 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B95F4
Deuteranopia (green-blind)
#7A9EED
Tritanopia (blue-blind)
#D486A7
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #d474f0; /* rgb */ color: rgb(212, 116, 240); /* oklch */ color: oklch(71.3% 0.196 318.2);
Tailwind
colors: {
custom: {
50: '#e49ff5',
500: '#d474f0',
950: '#000000',
},
}SCSS
$custom: #d474f0; $custom-light: #e49ff5; $custom-dark: #000000;
JSON
{
"hex": "#d474f0",
"rgb": {
"r": 212,
"g": 116,
"b": 240
},
"hsl": {
"h": 286.452,
"s": 80.519,
"l": 69.804
},
"oklch": {
"l": 0.71313,
"c": 0.19618,
"h": 318.2
},
"luminance": 0.32779
}Semantic roles & 50–950 ramp
primary
#D474F0
secondary
#D6F1CE
accent
#DD0939
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85