#975BBB#975BBB
#975BBB is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.153 H 311.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #975BBB |
|---|---|
| RGB | rgb(151, 91, 187) |
| HSL | hsl(278, 41%, 55%) |
| HSV | hsv(278, 51%, 73%) |
| CMYK | cmyk(19.3%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(49.07, 41.89, -41.15) |
| CIE-LCH | lch(49.07, 58.72, 315.51°) |
| OKLab | oklab(57.84% 0.1012 -0.115) |
| OKLCH | oklch(57.84% 0.153 311.3) |
| XYZ | xyz(25.4716, 17.6499, 49.0690) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.58
Deep Lavender
#8D5EB7
ΔE00 2.25
Deep Lilac
#966EBD
ΔE00 5.71
Purply
#983FB2
ΔE00 6.80
Lightish Purple
#A552E6
ΔE00 6.97
Mediumorchid
#BA55D3
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975BBB #7FBB5B
analogous
#675BBB #975BBB #BB5BAF
triadic
#975BBB #BB975B #5BBB97
tetradic
#975BBB #BB675B #7FBB5B #5BAFBB
square
#975BBB #BB675B #7FBB5B #5BAFBB
split-complementary
#975BBB #AFBB5B #5BBB67
monochromatic
#562E6E #784099 #975BBB #B286CD #CEB2DF
Accessibility & contrast
On white
4.64
#975BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#975BBB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975BBB
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975BBB | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#5576B9
Tritanopia (blue-blind)
#936B82
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #975bbb; /* rgb */ color: rgb(151, 91, 187); /* oklch */ color: oklch(57.8% 0.153 311.3);
Tailwind
colors: {
custom: {
50: '#b88bd0',
500: '#975bbb',
950: '#000000',
},
}SCSS
$custom: #975bbb; $custom-light: #b88bd0; $custom-dark: #000000;
JSON
{
"hex": "#975bbb",
"rgb": {
"r": 151,
"g": 91,
"b": 187
},
"hsl": {
"h": 277.5,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.57839,
"c": 0.15315,
"h": 311.3
},
"luminance": 0.17649
}Semantic roles & 50–950 ramp
primary
#975BBB
secondary
#B4CDA5
accent
#D15785
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82