#D875ED#D875ED
#D875ED is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.194 H 320.4°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D875ED |
|---|---|
| RGB | rgb(216, 117, 237) |
| HSL | hsl(290, 77%, 69%) |
| HSV | hsv(290, 51%, 93%) |
| CMYK | cmyk(8.9%, 50.6%, 0%, 7.1%) |
| CIE-LAB | lab(64.51, 56.49, -44.56) |
| CIE-LCH | lch(64.51, 71.95, 321.73°) |
| OKLab | oklab(71.76% 0.1491 -0.1234) |
| OKLCH | oklch(71.76% 0.194 320.4) |
| XYZ | xyz(49.9644, 33.4380, 83.9266) |
| Luminance | 0.3344 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.16
Purply Pink
#F075E6
ΔE00 4.93
Violet (CSS)
#EE82EE
ΔE00 5.18
Light Purple
#BF77F6
ΔE00 5.33
Light Magenta
#FA5FF7
ΔE00 5.50
Violet Pink
#FB5FFC
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D875ED #8AED75
analogous
#9C75ED #D875ED #ED75C6
triadic
#D875ED #EDD875 #75EDD8
tetradic
#D875ED #ED9C75 #8AED75 #75C6ED
square
#D875ED #ED9C75 #8AED75 #75C6ED
split-complementary
#D875ED #C6ED75 #75ED9C
monochromatic
#AE1BCD #C93FE6 #D875ED #E7ABF4 #F7E1FB
Accessibility & contrast
On white
2.73
#D875ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#D875ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D875ED
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D875ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D875ED | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6195F1
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#D986A6
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #d875ed; /* rgb */ color: rgb(216, 117, 237); /* oklch */ color: oklch(71.8% 0.194 320.4);
Tailwind
colors: {
custom: {
50: '#e6a0f3',
500: '#d875ed',
950: '#000000',
},
}SCSS
$custom: #d875ed; $custom-light: #e6a0f3; $custom-dark: #000000;
JSON
{
"hex": "#d875ed",
"rgb": {
"r": 216,
"g": 117,
"b": 237
},
"hsl": {
"h": 289.5,
"s": 76.923,
"l": 69.412
},
"oklch": {
"l": 0.71762,
"c": 0.19359,
"h": 320.4
},
"luminance": 0.33436
}Semantic roles & 50–950 ramp
primary
#D875ED
secondary
#D4F0CE
accent
#D90C30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85