#D875EF#D875EF
#D875EF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.196 H 319.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D875EF |
|---|---|
| RGB | rgb(216, 117, 239) |
| HSL | hsl(289, 79%, 70%) |
| HSV | hsv(289, 51%, 94%) |
| CMYK | cmyk(9.6%, 51%, 0%, 6.3%) |
| CIE-LAB | lab(64.61, 56.87, -45.52) |
| CIE-LCH | lch(64.61, 72.84, 321.33°) |
| OKLab | oklab(71.86% 0.1494 -0.1262) |
| OKLCH | oklch(71.86% 0.196 319.8) |
| XYZ | xyz(50.2582, 33.5555, 85.4741) |
| Luminance | 0.3355 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.48
Purply Pink
#F075E6
ΔE00 5.13
Light Purple
#BF77F6
ΔE00 5.13
Violet (CSS)
#EE82EE
ΔE00 5.31
Light Magenta
#FA5FF7
ΔE00 5.52
Violet Pink
#FB5FFC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D875EF #8CEF75
analogous
#9B75EF #D875EF #EF75C9
triadic
#D875EF #EFD875 #75EFD8
tetradic
#D875EF #EF9B75 #8CEF75 #75C9EF
square
#D875EF #EF9B75 #8CEF75 #75C9EF
split-complementary
#D875EF #C9EF75 #75EF9B
monochromatic
#AE18D1 #C93EE9 #D875EF #E7ACF5 #F7E3FC
Accessibility & contrast
On white
2.72
#D875EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#D875EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D875EF
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D875EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D875EF | 1.00 | 2.72 | 7.71 | 7.71 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#D986A7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d875ef; /* rgb */ color: rgb(216, 117, 239); /* oklch */ color: oklch(71.9% 0.196 319.8);
Tailwind
colors: {
custom: {
50: '#e6a0f4',
500: '#d875ef',
950: '#000000',
},
}SCSS
$custom: #d875ef; $custom-light: #e6a0f4; $custom-dark: #000000;
JSON
{
"hex": "#d875ef",
"rgb": {
"r": 216,
"g": 117,
"b": 239
},
"hsl": {
"h": 288.689,
"s": 79.221,
"l": 69.804
},
"oklch": {
"l": 0.71863,
"c": 0.19554,
"h": 319.8
},
"luminance": 0.33554
}Semantic roles & 50–950 ramp
primary
#D875EF
secondary
#D5F1CF
accent
#DC0A31
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85