#975AB2#975AB2
#975AB2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.2% C 0.145 H 314.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #975AB2 |
|---|---|
| RGB | rgb(151, 90, 178) |
| HSL | hsl(282, 36%, 53%) |
| HSV | hsv(282, 49%, 70%) |
| CMYK | cmyk(15.2%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(48.39, 40.45, -36.98) |
| CIE-LCH | lch(48.39, 54.80, 317.56°) |
| OKLab | oklab(57.19% 0.1016 -0.1028) |
| OKLCH | oklch(57.19% 0.145 314.6) |
| XYZ | xyz(24.4533, 17.1066, 44.1246) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.88
Deep Lavender
#8D5EB7
ΔE00 2.90
Deep Lilac
#966EBD
ΔE00 6.23
Medium Purple
#9E43A2
ΔE00 6.34
Purply
#983FB2
ΔE00 6.45
Ugly Purple
#A442A0
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975AB2 #75B25A
analogous
#6B5AB2 #975AB2 #B25AA1
triadic
#975AB2 #B2975A #5AB297
tetradic
#975AB2 #B26B5A #75B25A #5AA1B2
square
#975AB2 #B26B5A #75B25A #5AA1B2
split-complementary
#975AB2 #A1B25A #5AB26B
monochromatic
#532E63 #76428D #975AB2 #B184C5 #CCADD9
Accessibility & contrast
On white
4.75
#975AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#975AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975AB2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975AB2 | 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)
#476FB5
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#95677E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #975ab2; /* rgb */ color: rgb(151, 90, 178); /* oklch */ color: oklch(57.2% 0.145 314.6);
Tailwind
colors: {
custom: {
50: '#b78ac9',
500: '#975ab2',
950: '#000000',
},
}SCSS
$custom: #975ab2; $custom-light: #b78ac9; $custom-dark: #000000;
JSON
{
"hex": "#975ab2",
"rgb": {
"r": 151,
"g": 90,
"b": 178
},
"hsl": {
"h": 281.591,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.57188,
"c": 0.14454,
"h": 314.6
},
"luminance": 0.17106
}Semantic roles & 50–950 ramp
primary
#975AB2
secondary
#ADC7A1
accent
#CC5B7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82