#975BAE#975BAE
#975BAE is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.1% C 0.138 H 316.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #975BAE |
|---|---|
| RGB | rgb(151, 91, 174) |
| HSL | hsl(283, 34%, 52%) |
| HSV | hsv(283, 48%, 68%) |
| CMYK | cmyk(13.2%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(48.41, 39.03, -34.62) |
| CIE-LCH | lch(48.41, 52.17, 318.43°) |
| OKLab | oklab(57.13% 0.0996 -0.096) |
| OKLCH | oklch(57.13% 0.138 316) |
| XYZ | xyz(24.1424, 17.1182, 42.0686) |
| Luminance | 0.1712 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.42
Amethyst
#9B5FC0
ΔE00 3.50
Deep Lilac
#966EBD
ΔE00 6.25
Medium Purple
#9E43A2
ΔE00 6.26
Ugly Purple
#A442A0
ΔE00 6.81
Purply
#983FB2
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975BAE #72AE5B
analogous
#6D5BAE #975BAE #AE5B9C
triadic
#975BAE #AE975B #5BAE97
tetradic
#975BAE #AE6D5B #72AE5B #5B9CAE
square
#975BAE #AE6D5B #72AE5B #5B9CAE
split-complementary
#975BAE #9CAE5B #5BAE6D
monochromatic
#522F5F #754388 #975BAE #B184C2 #CBADD6
Accessibility & contrast
On white
4.75
#975BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#975BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975BAE
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975BAE | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6FB1
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#96677C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #975bae; /* rgb */ color: rgb(151, 91, 174); /* oklch */ color: oklch(57.1% 0.138 316.0);
Tailwind
colors: {
custom: {
50: '#b78bc6',
500: '#975bae',
950: '#000000',
},
}SCSS
$custom: #975bae; $custom-light: #b78bc6; $custom-dark: #000000;
JSON
{
"hex": "#975bae",
"rgb": {
"r": 151,
"g": 91,
"b": 174
},
"hsl": {
"h": 283.373,
"s": 33.878,
"l": 51.961
},
"oklch": {
"l": 0.57134,
"c": 0.13831,
"h": 316
},
"luminance": 0.17117
}Semantic roles & 50–950 ramp
primary
#975BAE
secondary
#AAC5A0
accent
#CA5E7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82