#D873F2#D873F2
#D873F2 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.7% C 0.202 H 319.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #D873F2 |
|---|---|
| RGB | rgb(216, 115, 242) |
| HSL | hsl(288, 83%, 70%) |
| HSV | hsv(288, 52%, 95%) |
| CMYK | cmyk(10.7%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(64.38, 58.43, -47.53) |
| CIE-LCH | lch(64.38, 75.32, 320.87°) |
| OKLab | oklab(71.74% 0.1523 -0.132) |
| OKLCH | oklch(71.74% 0.202 319.1) |
| XYZ | xyz(50.4746, 33.2732, 87.7508) |
| Luminance | 0.3327 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.83
Orchid
#DA70D6
ΔE00 4.94
Easter Purple
#C071FE
ΔE00 5.38
Violet Pink
#FB5FFC
ΔE00 5.44
Light Magenta
#FA5FF7
ΔE00 5.45
Purply Pink
#F075E6
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D873F2 #8DF273
analogous
#9973F2 #D873F2 #F273CC
triadic
#D873F2 #F2D873 #73F2D8
tetradic
#D873F2 #F29973 #8DF273 #73CCF2
square
#D873F2 #F29973 #8DF273 #73CCF2
split-complementary
#D873F2 #CCF273 #73F299
monochromatic
#AF14D7 #C83BED #D873F2 #E8ABF7 #F7E3FC
Accessibility & contrast
On white
2.74
#D873F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#D873F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D873F2
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D873F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D873F2 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#D886A8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d873f2; /* rgb */ color: rgb(216, 115, 242); /* oklch */ color: oklch(71.7% 0.202 319.1);
Tailwind
colors: {
custom: {
50: '#e69ff7',
500: '#d873f2',
950: '#000000',
},
}SCSS
$custom: #d873f2; $custom-light: #e69ff7; $custom-dark: #000000;
JSON
{
"hex": "#d873f2",
"rgb": {
"r": 216,
"g": 115,
"b": 242
},
"hsl": {
"h": 287.717,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.71742,
"c": 0.20156,
"h": 319.1
},
"luminance": 0.33271
}Semantic roles & 50–950 ramp
primary
#D873F2
secondary
#D6F2CF
accent
#DF0633
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85