#D487F2#D487F2
#D487F2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.168 H 316.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #D487F2 |
|---|---|
| RGB | rgb(212, 135, 242) |
| HSL | hsl(283, 80%, 74%) |
| HSV | hsv(283, 44%, 95%) |
| CMYK | cmyk(12.4%, 44.2%, 0%, 5.1%) |
| CIE-LAB | lab(67.83, 47.20, -42.15) |
| CIE-LCH | lch(67.83, 63.28, 318.23°) |
| OKLab | oklab(74.2% 0.1207 -0.1167) |
| OKLCH | oklch(74.2% 0.168 316) |
| XYZ | xyz(51.8399, 37.7372, 88.5404) |
| Luminance | 0.3774 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.54
Violet (CSS)
#EE82EE
ΔE00 5.07
Baby Purple
#CA9BF7
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.87
Lavender Pink
#DD85D7
ΔE00 6.05
Purply Pink
#F075E6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D487F2 #A5F287
analogous
#9F87F2 #D487F2 #F287DA
triadic
#D487F2 #F2D487 #87F2D4
tetradic
#D487F2 #F29F87 #A5F287 #87DAF2
square
#D487F2 #F29F87 #A5F287 #87DAF2
split-complementary
#D487F2 #DAF287 #87F29F
monochromatic
#AC19E6 #C050EC #D487F2 #E8BEF8 #F5E3FC
Accessibility & contrast
On white
2.46
#D487F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.55
#D487F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D487F2
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D487F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D487F2 | 1.00 | 2.46 | 8.55 | 8.55 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#88A8EF
Tritanopia (blue-blind)
#D396B1
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d487f2; /* rgb */ color: rgb(212, 135, 242); /* oklch */ color: oklch(74.2% 0.168 316.0);
Tailwind
colors: {
custom: {
50: '#e3acf6',
500: '#d487f2',
950: '#000000',
},
}SCSS
$custom: #d487f2; $custom-light: #e3acf6; $custom-dark: #000000;
JSON
{
"hex": "#d487f2",
"rgb": {
"r": 212,
"g": 135,
"b": 242
},
"hsl": {
"h": 283.178,
"s": 80.451,
"l": 73.922
},
"oklch": {
"l": 0.74197,
"c": 0.16785,
"h": 316
},
"luminance": 0.37736
}Semantic roles & 50–950 ramp
primary
#D487F2
secondary
#DFF4D7
accent
#DD0944
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85