#975BB2#975BB2
#975BB2 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.143 H 314.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #975BB2 |
|---|---|
| RGB | rgb(151, 91, 178) |
| HSL | hsl(281, 36%, 53%) |
| HSV | hsv(281, 49%, 70%) |
| CMYK | cmyk(15.2%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(48.61, 39.90, -36.64) |
| CIE-LCH | lch(48.61, 54.17, 317.43°) |
| OKLab | oklab(57.35% 0.1001 -0.1019) |
| OKLCH | oklch(57.35% 0.143 314.5) |
| XYZ | xyz(24.5382, 17.2765, 44.1529) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.77
Deep Lavender
#8D5EB7
ΔE00 2.84
Deep Lilac
#966EBD
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.57
Purply
#983FB2
ΔE00 6.74
Soft Purple
#A66FB5
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975BB2 #76B25B
analogous
#6B5BB2 #975BB2 #B25BA2
triadic
#975BB2 #B2975B #5BB297
tetradic
#975BB2 #B26B5B #76B25B #5BA2B2
square
#975BB2 #B26B5B #76B25B #5BA2B2
split-complementary
#975BB2 #A2B25B #5BB26B
monochromatic
#532F64 #76428D #975BB2 #B185C6 #CCAED9
Accessibility & contrast
On white
4.71
#975BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#975BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975BB2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975BB2 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#95687E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #975bb2; /* rgb */ color: rgb(151, 91, 178); /* oklch */ color: oklch(57.3% 0.143 314.5);
Tailwind
colors: {
custom: {
50: '#b78bc9',
500: '#975bb2',
950: '#000000',
},
}SCSS
$custom: #975bb2; $custom-light: #b78bc9; $custom-dark: #000000;
JSON
{
"hex": "#975bb2",
"rgb": {
"r": 151,
"g": 91,
"b": 178
},
"hsl": {
"h": 281.379,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.57346,
"c": 0.14284,
"h": 314.5
},
"luminance": 0.17276
}Semantic roles & 50–950 ramp
primary
#975BB2
secondary
#ADC7A2
accent
#CC5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82