#975CBB#975CBB
#975CBB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.151 H 311.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #975CBB |
|---|---|
| RGB | rgb(151, 92, 187) |
| HSL | hsl(277, 41%, 55%) |
| HSV | hsv(277, 51%, 73%) |
| CMYK | cmyk(19.3%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(49.28, 41.35, -40.82) |
| CIE-LCH | lch(49.28, 58.10, 315.37°) |
| OKLab | oklab(58% 0.0998 -0.114) |
| OKLCH | oklch(58% 0.152 311.2) |
| XYZ | xyz(25.5577, 17.8220, 49.0977) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.39
Deep Lavender
#8D5EB7
ΔE00 2.17
Deep Lilac
#966EBD
ΔE00 5.43
Mediumorchid
#BA55D3
ΔE00 6.98
Lightish Purple
#A552E6
ΔE00 7.03
Purply
#983FB2
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CBB #80BB5C
analogous
#675CBB #975CBB #BB5CB0
triadic
#975CBB #BB975C #5CBB97
tetradic
#975CBB #BB675C #80BB5C #5CB0BB
square
#975CBB #BB675C #80BB5C #5CB0BB
split-complementary
#975CBB #B0BB5C #5CBB67
monochromatic
#562E6F #78409A #975CBB #B387CD #CEB2DF
Accessibility & contrast
On white
4.60
#975CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#975CBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975CBB
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975CBB | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#936C83
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #975cbb; /* rgb */ color: rgb(151, 92, 187); /* oklch */ color: oklch(58.0% 0.151 311.2);
Tailwind
colors: {
custom: {
50: '#b88cd0',
500: '#975cbb',
950: '#000000',
},
}SCSS
$custom: #975cbb; $custom-light: #b88cd0; $custom-dark: #000000;
JSON
{
"hex": "#975cbb",
"rgb": {
"r": 151,
"g": 92,
"b": 187
},
"hsl": {
"h": 277.263,
"s": 41.126,
"l": 54.706
},
"oklch": {
"l": 0.57995,
"c": 0.1515,
"h": 311.2
},
"luminance": 0.17821
}Semantic roles & 50–950 ramp
primary
#975CBB
secondary
#B5CDA5
accent
#D15785
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82