#D985F2#D985F2
#D985F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.4% C 0.173 H 318.1°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D985F2 |
|---|---|
| RGB | rgb(217, 133, 242) |
| HSL | hsl(286, 81%, 74%) |
| HSV | hsv(286, 45%, 95%) |
| CMYK | cmyk(10.3%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(67.98, 49.65, -41.87) |
| CIE-LCH | lch(67.98, 64.95, 319.86°) |
| OKLab | oklab(74.43% 0.1292 -0.1158) |
| OKLCH | oklch(74.43% 0.173 318.1) |
| XYZ | xyz(53.0276, 37.9393, 88.5169) |
| Luminance | 0.3794 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.12
Liliac
#C48EFD
ΔE00 5.48
Lavender Pink
#DD85D7
ΔE00 5.53
Purply Pink
#F075E6
ΔE00 5.61
Orchid
#DA70D6
ΔE00 6.16
Light Purple
#BF77F6
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D985F2 #9EF285
analogous
#A285F2 #D985F2 #F285D4
triadic
#D985F2 #F2D985 #85F2D9
tetradic
#D985F2 #F2A285 #9EF285 #85D4F2
square
#D985F2 #F2A285 #9EF285 #85D4F2
split-complementary
#D985F2 #D4F285 #85F2A2
monochromatic
#B518E4 #C84EEC #D985F2 #EABCF8 #F6E3FC
Accessibility & contrast
On white
2.45
#D985F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#D985F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D985F2
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D985F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D985F2 | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#8AA9EF
Tritanopia (blue-blind)
#D994B0
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d985f2; /* rgb */ color: rgb(217, 133, 242); /* oklch */ color: oklch(74.4% 0.173 318.1);
Tailwind
colors: {
custom: {
50: '#e6aaf6',
500: '#d985f2',
950: '#000000',
},
}SCSS
$custom: #d985f2; $custom-light: #e6aaf6; $custom-dark: #000000;
JSON
{
"hex": "#d985f2",
"rgb": {
"r": 217,
"g": 133,
"b": 242
},
"hsl": {
"h": 286.239,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.74431,
"c": 0.17349,
"h": 318.1
},
"luminance": 0.37938
}Semantic roles & 50–950 ramp
primary
#D985F2
secondary
#DEF4D7
accent
#DD0839
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85