#D474FC#D474FC
#D474FC is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 71.9% C 0.208 H 315.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D474FC |
|---|---|
| RGB | rgb(212, 116, 252) |
| HSL | hsl(282, 96%, 72%) |
| HSV | hsv(282, 54%, 99%) |
| CMYK | cmyk(15.9%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(64.58, 58.89, -52.76) |
| CIE-LCH | lch(64.58, 79.07, 318.14°) |
| OKLab | oklab(71.94% 0.1472 -0.1473) |
| OKLCH | oklch(71.94% 0.208 315) |
| XYZ | xyz(50.9647, 33.5176, 95.8615) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.58
Easter Purple
#C071FE
ΔE00 3.85
Bright Lavender
#C760FF
ΔE00 5.01
Bright Lilac
#C95EFB
ΔE00 5.05
Light Urple
#B36FF6
ΔE00 6.02
Heliotrope
#D94FF5
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D474FC #9CFC74
analogous
#9074FC #D474FC #FC74E0
triadic
#D474FC #FCD474 #74FCD4
tetradic
#D474FC #FC9074 #9CFC74 #74E0FC
square
#D474FC #FC9074 #9CFC74 #74E0FC
split-complementary
#D474FC #E0FC74 #74FC90
monochromatic
#AB05F0 #C138FB #D474FC #E7B0FD #F6E1FE
Accessibility & contrast
On white
2.73
#D474FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#D474FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D474FC
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D474FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D474FC | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#739FF8
Tritanopia (blue-blind)
#D18AAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d474fc; /* rgb */ color: rgb(212, 116, 252); /* oklch */ color: oklch(71.9% 0.208 315.0);
Tailwind
colors: {
custom: {
50: '#e4a0fe',
500: '#d474fc',
950: '#000000',
},
}SCSS
$custom: #d474fc; $custom-light: #e4a0fe; $custom-dark: #000000;
JSON
{
"hex": "#d474fc",
"rgb": {
"r": 212,
"g": 116,
"b": 252
},
"hsl": {
"h": 282.353,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.71944,
"c": 0.20825,
"h": 315
},
"luminance": 0.33516
}Semantic roles & 50–950 ramp
primary
#D474FC
secondary
#DEF7D4
accent
#E60043
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86