#975BA2#975BA2
#975BA2 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.5% C 0.125 H 321.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #975BA2 |
|---|---|
| RGB | rgb(151, 91, 162) |
| HSL | hsl(291, 28%, 50%) |
| HSV | hsv(291, 44%, 64%) |
| CMYK | cmyk(6.8%, 43.8%, 0%, 36.5%) |
| CIE-LAB | lab(47.84, 36.50, -28.45) |
| CIE-LCH | lch(47.84, 46.28, 322.06°) |
| OKLab | oklab(56.53% 0.0975 -0.0783) |
| OKLCH | oklch(56.53% 0.125 321.2) |
| XYZ | xyz(23.0244, 16.6710, 36.1804) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish
#94568C
ΔE00 5.00
Purpleish
#98568D
ΔE00 5.06
Deep Lavender
#8D5EB7
ΔE00 5.71
Dark Lilac
#9C6DA5
ΔE00 5.90
Amethyst
#9B5FC0
ΔE00 5.98
Medium Purple
#9E43A2
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975BA2 #66A25B
analogous
#745BA2 #975BA2 #A25B8A
triadic
#975BA2 #A2975B #5BA297
tetradic
#975BA2 #A2745B #66A25B #5B8AA2
square
#975BA2 #A2745B #66A25B #5B8AA2
split-complementary
#975BA2 #8AA25B #5BA274
monochromatic
#4E2F54 #72457B #975BA2 #B082B9 #C9A9CF
Accessibility & contrast
On white
4.85
#975BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#975BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975BA2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975BA2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#986477
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #975ba2; /* rgb */ color: rgb(151, 91, 162); /* oklch */ color: oklch(56.5% 0.125 321.2);
Tailwind
colors: {
custom: {
50: '#b78bbe',
500: '#975ba2',
950: '#000000',
},
}SCSS
$custom: #975ba2; $custom-light: #b78bbe; $custom-dark: #000000;
JSON
{
"hex": "#975ba2",
"rgb": {
"r": 151,
"g": 91,
"b": 162
},
"hsl": {
"h": 290.704,
"s": 28.063,
"l": 49.608
},
"oklch": {
"l": 0.56527,
"c": 0.12501,
"h": 321.2
},
"luminance": 0.1667
}Semantic roles & 50–950 ramp
primary
#975BA2
secondary
#A1BD9C
accent
#C46372
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81