#D975ED#D975ED
#D975ED is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.194 H 320.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D975ED |
|---|---|
| RGB | rgb(217, 117, 237) |
| HSL | hsl(290, 77%, 69%) |
| HSV | hsv(290, 51%, 93%) |
| CMYK | cmyk(8.4%, 50.6%, 0%, 7.1%) |
| CIE-LAB | lab(64.64, 56.76, -44.36) |
| CIE-LCH | lch(64.64, 72.03, 321.99°) |
| OKLab | oklab(71.88% 0.1503 -0.1228) |
| OKLCH | oklch(71.88% 0.194 320.7) |
| XYZ | xyz(50.2608, 33.5908, 83.9405) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.08
Purply Pink
#F075E6
ΔE00 4.75
Violet (CSS)
#EE82EE
ΔE00 5.02
Light Magenta
#FA5FF7
ΔE00 5.36
Violet Pink
#FB5FFC
ΔE00 5.45
Light Purple
#BF77F6
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D975ED #89ED75
analogous
#9D75ED #D975ED #ED75C5
triadic
#D975ED #EDD975 #75EDD9
tetradic
#D975ED #ED9D75 #89ED75 #75C5ED
square
#D975ED #ED9D75 #89ED75 #75C5ED
split-complementary
#D975ED #C5ED75 #75ED9D
monochromatic
#AF1BCD #CA3FE6 #D975ED #E8ABF4 #F7E1FB
Accessibility & contrast
On white
2.72
#D975ED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#D975ED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D975ED
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D975ED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D975ED | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#80A1EA
Tritanopia (blue-blind)
#DB85A6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d975ed; /* rgb */ color: rgb(217, 117, 237); /* oklch */ color: oklch(71.9% 0.194 320.7);
Tailwind
colors: {
custom: {
50: '#e7a0f3',
500: '#d975ed',
950: '#000000',
},
}SCSS
$custom: #d975ed; $custom-light: #e7a0f3; $custom-dark: #000000;
JSON
{
"hex": "#d975ed",
"rgb": {
"r": 217,
"g": 117,
"b": 237
},
"hsl": {
"h": 290,
"s": 76.923,
"l": 69.412
},
"oklch": {
"l": 0.71879,
"c": 0.19409,
"h": 320.7
},
"luminance": 0.33589
}Semantic roles & 50–950 ramp
primary
#D975ED
secondary
#D3F0CE
accent
#D90C2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85