#D873F0#D873F0
#D873F0 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.200 H 319.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #D873F0 |
|---|---|
| RGB | rgb(216, 115, 240) |
| HSL | hsl(288, 81%, 70%) |
| HSV | hsv(288, 52%, 94%) |
| CMYK | cmyk(10%, 52.1%, 0%, 5.9%) |
| CIE-LAB | lab(64.29, 58.04, -46.58) |
| CIE-LCH | lch(64.29, 74.42, 321.25°) |
| OKLab | oklab(71.64% 0.1521 -0.1293) |
| OKLCH | oklch(71.64% 0.2 319.6) |
| XYZ | xyz(50.1758, 33.1537, 86.1774) |
| Luminance | 0.3315 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.62
Light Purple
#BF77F6
ΔE00 5.01
Purply Pink
#F075E6
ΔE00 5.34
Light Magenta
#FA5FF7
ΔE00 5.40
Violet Pink
#FB5FFC
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D873F0 #8BF073
analogous
#9A73F0 #D873F0 #F073CA
triadic
#D873F0 #F0D873 #73F0D8
tetradic
#D873F0 #F09A73 #8BF073 #73CAF0
square
#D873F0 #F09A73 #8BF073 #73CAF0
split-complementary
#D873F0 #CAF073 #73F09A
monochromatic
#AE17D2 #C93CEA #D873F0 #E7AAF6 #F7E2FC
Accessibility & contrast
On white
2.75
#D873F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#D873F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D873F0
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D873F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D873F0 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C95F4
Deuteranopia (green-blind)
#7C9FED
Tritanopia (blue-blind)
#D985A7
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d873f0; /* rgb */ color: rgb(216, 115, 240); /* oklch */ color: oklch(71.6% 0.200 319.6);
Tailwind
colors: {
custom: {
50: '#e69ff5',
500: '#d873f0',
950: '#000000',
},
}SCSS
$custom: #d873f0; $custom-light: #e69ff5; $custom-dark: #000000;
JSON
{
"hex": "#d873f0",
"rgb": {
"r": 216,
"g": 115,
"b": 240
},
"hsl": {
"h": 288.48,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.7164,
"c": 0.19961,
"h": 319.6
},
"luminance": 0.33152
}Semantic roles & 50–950 ramp
primary
#D873F0
secondary
#D4F1CE
accent
#DD0931
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#160F17
muted
#847F85