#D975EF#D975EF
#D975EF is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.0% C 0.196 H 320.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D975EF |
|---|---|
| RGB | rgb(217, 117, 239) |
| HSL | hsl(289, 79%, 70%) |
| HSV | hsv(289, 51%, 94%) |
| CMYK | cmyk(9.2%, 51%, 0%, 6.3%) |
| CIE-LAB | lab(64.73, 57.14, -45.32) |
| CIE-LCH | lch(64.73, 72.93, 321.58°) |
| OKLab | oklab(71.98% 0.1505 -0.1256) |
| OKLCH | oklch(71.98% 0.196 320.2) |
| XYZ | xyz(50.5546, 33.7083, 85.4880) |
| Luminance | 0.3371 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.41
Purply Pink
#F075E6
ΔE00 4.95
Violet (CSS)
#EE82EE
ΔE00 5.15
Light Purple
#BF77F6
ΔE00 5.31
Light Magenta
#FA5FF7
ΔE00 5.38
Violet Pink
#FB5FFC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D975EF #8BEF75
analogous
#9C75EF #D975EF #EF75C8
triadic
#D975EF #EFD975 #75EFD9
tetradic
#D975EF #EF9C75 #8BEF75 #75C8EF
square
#D975EF #EF9C75 #8BEF75 #75C8EF
split-complementary
#D975EF #C8EF75 #75EF9C
monochromatic
#B018D1 #CA3EE9 #D975EF #E8ACF5 #F7E3FC
Accessibility & contrast
On white
2.71
#D975EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#D975EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D975EF
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D975EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D975EF | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#DA86A7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d975ef; /* rgb */ color: rgb(217, 117, 239); /* oklch */ color: oklch(72.0% 0.196 320.2);
Tailwind
colors: {
custom: {
50: '#e7a0f4',
500: '#d975ef',
950: '#000000',
},
}SCSS
$custom: #d975ef; $custom-light: #e7a0f4; $custom-dark: #000000;
JSON
{
"hex": "#d975ef",
"rgb": {
"r": 217,
"g": 117,
"b": 239
},
"hsl": {
"h": 289.18,
"s": 79.221,
"l": 69.804
},
"oklch": {
"l": 0.71979,
"c": 0.19603,
"h": 320.2
},
"luminance": 0.33706
}Semantic roles & 50–950 ramp
primary
#D975EF
secondary
#D5F1CF
accent
#DC0A30
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85