#D875E9#D875E9
#D875E9 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.190 H 321.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D875E9 |
|---|---|
| RGB | rgb(216, 117, 233) |
| HSL | hsl(291, 73%, 69%) |
| HSV | hsv(291, 50%, 91%) |
| CMYK | cmyk(7.3%, 49.8%, 0%, 8.6%) |
| CIE-LAB | lab(64.33, 55.73, -42.64) |
| CIE-LCH | lch(64.33, 70.17, 322.58°) |
| OKLab | oklab(71.56% 0.1487 -0.1179) |
| OKLCH | oklch(71.56% 0.19 321.6) |
| XYZ | xyz(49.3865, 33.2068, 80.8831) |
| Luminance | 0.3321 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.51
Purply Pink
#F075E6
ΔE00 4.56
Violet (CSS)
#EE82EE
ΔE00 4.96
Light Magenta
#FA5FF7
ΔE00 5.51
Violet Pink
#FB5FFC
ΔE00 5.67
Light Purple
#BF77F6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D875E9 #86E975
analogous
#9E75E9 #D875E9 #E975C0
triadic
#D875E9 #E9D875 #75E9D8
tetradic
#D875E9 #E99E75 #86E975 #75C0E9
square
#D875E9 #E99E75 #86E975 #75C0E9
split-complementary
#D875E9 #C0E975 #75E99E
monochromatic
#AC1FC4 #C940E1 #D875E9 #E7AAF1 #F6DFFA
Accessibility & contrast
On white
2.75
#D875E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#D875E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D875E9
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D875E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D875E9 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#81A0E6
Tritanopia (blue-blind)
#DA84A5
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d875e9; /* rgb */ color: rgb(216, 117, 233); /* oklch */ color: oklch(71.6% 0.190 321.6);
Tailwind
colors: {
custom: {
50: '#e6a0f0',
500: '#d875e9',
950: '#000000',
},
}SCSS
$custom: #d875e9; $custom-light: #e6a0f0; $custom-dark: #000000;
JSON
{
"hex": "#d875e9",
"rgb": {
"r": 216,
"g": 117,
"b": 233
},
"hsl": {
"h": 291.207,
"s": 72.5,
"l": 68.627
},
"oklch": {
"l": 0.71564,
"c": 0.18971,
"h": 321.6
},
"luminance": 0.33205
}Semantic roles & 50–950 ramp
primary
#D875E9
secondary
#D1EECC
accent
#D5112E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84