#D975F1#D975F1
#D975F1 is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.1% C 0.198 H 319.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #D975F1 |
|---|---|
| RGB | rgb(217, 117, 241) |
| HSL | hsl(288, 82%, 70%) |
| HSV | hsv(288, 51%, 95%) |
| CMYK | cmyk(10%, 51.5%, 0%, 5.5%) |
| CIE-LAB | lab(64.83, 57.52, -46.27) |
| CIE-LCH | lch(64.83, 73.82, 321.19°) |
| OKLab | oklab(72.08% 0.1507 -0.1284) |
| OKLCH | oklch(72.08% 0.198 319.6) |
| XYZ | xyz(50.8517, 33.8272, 87.0527) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.73
Light Purple
#BF77F6
ΔE00 5.12
Purply Pink
#F075E6
ΔE00 5.17
Violet (CSS)
#EE82EE
ΔE00 5.29
Light Magenta
#FA5FF7
ΔE00 5.41
Violet Pink
#FB5FFC
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D975F1 #8DF175
analogous
#9B75F1 #D975F1 #F175CB
triadic
#D975F1 #F1D975 #75F1D9
tetradic
#D975F1 #F19B75 #8DF175 #75CBF1
square
#D975F1 #F19B75 #8DF175 #75CBF1
split-complementary
#D975F1 #CBF175 #75F19B
monochromatic
#B116D6 #CA3DEB #D975F1 #E8ADF7 #F7E3FC
Accessibility & contrast
On white
2.70
#D975F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#D975F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D975F1
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D975F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D975F1 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E96F5
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#DA87A8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #d975f1; /* rgb */ color: rgb(217, 117, 241); /* oklch */ color: oklch(72.1% 0.198 319.6);
Tailwind
colors: {
custom: {
50: '#e7a0f6',
500: '#d975f1',
950: '#000000',
},
}SCSS
$custom: #d975f1; $custom-light: #e7a0f6; $custom-dark: #000000;
JSON
{
"hex": "#d975f1",
"rgb": {
"r": 217,
"g": 117,
"b": 241
},
"hsl": {
"h": 288.387,
"s": 81.579,
"l": 70.196
},
"oklch": {
"l": 0.7208,
"c": 0.19799,
"h": 319.6
},
"luminance": 0.33825
}Semantic roles & 50–950 ramp
primary
#D975F1
secondary
#D6F2D0
accent
#DE0831
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85