#D985F0#D985F0
#D985F0 is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.3% C 0.171 H 318.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D985F0 |
|---|---|
| RGB | rgb(217, 133, 240) |
| HSL | hsl(287, 78%, 73%) |
| HSV | hsv(287, 45%, 94%) |
| CMYK | cmyk(9.6%, 44.6%, 0%, 5.9%) |
| CIE-LAB | lab(67.89, 49.26, -40.91) |
| CIE-LCH | lch(67.89, 64.03, 320.29°) |
| OKLab | oklab(74.34% 0.1289 -0.113) |
| OKLCH | oklch(74.34% 0.171 318.8) |
| XYZ | xyz(52.7289, 37.8198, 86.9436) |
| Luminance | 0.3782 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.94
Lavender Pink
#DD85D7
ΔE00 5.19
Purply Pink
#F075E6
ΔE00 5.42
Liliac
#C48EFD
ΔE00 5.71
Orchid
#DA70D6
ΔE00 5.93
Baby Purple
#CA9BF7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D985F0 #9CF085
analogous
#A385F0 #D985F0 #F085D1
triadic
#D985F0 #F0D985 #85F0D9
tetradic
#D985F0 #F0A385 #9CF085 #85D1F0
square
#D985F0 #F0A385 #9CF085 #85D1F0
split-complementary
#D985F0 #D1F085 #85F0A3
monochromatic
#B51BDF #C84EE9 #D985F0 #EABBF7 #F7E4FC
Accessibility & contrast
On white
2.45
#D985F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#D985F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D985F0
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D985F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D985F0 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A0F4
Deuteranopia (green-blind)
#8BA8ED
Tritanopia (blue-blind)
#D993AF
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d985f0; /* rgb */ color: rgb(217, 133, 240); /* oklch */ color: oklch(74.3% 0.171 318.8);
Tailwind
colors: {
custom: {
50: '#e6aaf5',
500: '#d985f0',
950: '#000000',
},
}SCSS
$custom: #d985f0; $custom-light: #e6aaf5; $custom-dark: #000000;
JSON
{
"hex": "#d985f0",
"rgb": {
"r": 217,
"g": 133,
"b": 240
},
"hsl": {
"h": 287.103,
"s": 78.102,
"l": 73.137
},
"oklch": {
"l": 0.74337,
"c": 0.17142,
"h": 318.8
},
"luminance": 0.37818
}Semantic roles & 50–950 ramp
primary
#D985F0
secondary
#DEF3D8
accent
#DA0B38
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85