#975BB7#975BB7
#975BB7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.149 H 312.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #975BB7 |
|---|---|
| RGB | rgb(151, 91, 183) |
| HSL | hsl(279, 39%, 54%) |
| HSV | hsv(279, 50%, 72%) |
| CMYK | cmyk(17.5%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(48.86, 41.00, -39.16) |
| CIE-LCH | lch(48.86, 56.69, 316.32°) |
| OKLab | oklab(57.62% 0.1007 -0.1092) |
| OKLCH | oklch(57.62% 0.149 312.7) |
| XYZ | xyz(25.0494, 17.4809, 46.8452) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.00
Deep Lavender
#8D5EB7
ΔE00 2.36
Deep Lilac
#966EBD
ΔE00 5.76
Purply
#983FB2
ΔE00 6.71
Medium Purple
#9E43A2
ΔE00 7.06
Royal Purple
#7851A9
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975BB7 #7BB75B
analogous
#695BB7 #975BB7 #B75BA9
triadic
#975BB7 #B7975B #5BB797
tetradic
#975BB7 #B7695B #7BB75B #5BA9B7
square
#975BB7 #B7695B #7BB75B #5BA9B7
split-complementary
#975BB7 #A9B75B #5BB769
monochromatic
#552E69 #774194 #975BB7 #B286CA #CDB0DC
Accessibility & contrast
On white
4.67
#975BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#975BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975BB7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975BB7 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#946A81
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #975bb7; /* rgb */ color: rgb(151, 91, 183); /* oklch */ color: oklch(57.6% 0.149 312.7);
Tailwind
colors: {
custom: {
50: '#b88bcd',
500: '#975bb7',
950: '#000000',
},
}SCSS
$custom: #975bb7; $custom-light: #b88bcd; $custom-dark: #000000;
JSON
{
"hex": "#975bb7",
"rgb": {
"r": 151,
"g": 91,
"b": 183
},
"hsl": {
"h": 279.13,
"s": 38.983,
"l": 53.725
},
"oklch": {
"l": 0.57617,
"c": 0.14855,
"h": 312.7
},
"luminance": 0.1748
}Semantic roles & 50–950 ramp
primary
#975BB7
secondary
#B1CBA3
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82