#975CB7#975CB7
#975CB7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.8% C 0.147 H 312.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #975CB7 |
|---|---|
| RGB | rgb(151, 92, 183) |
| HSL | hsl(279, 39%, 54%) |
| HSV | hsv(279, 50%, 72%) |
| CMYK | cmyk(17.5%, 49.7%, 0%, 28.2%) |
| CIE-LAB | lab(49.07, 40.45, -38.82) |
| CIE-LCH | lch(49.07, 56.07, 316.18°) |
| OKLab | oklab(57.77% 0.0993 -0.1082) |
| OKLCH | oklch(57.77% 0.147 312.6) |
| XYZ | xyz(25.1354, 17.6531, 46.8738) |
| Luminance | 0.1765 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.86
Deep Lavender
#8D5EB7
ΔE00 2.30
Deep Lilac
#966EBD
ΔE00 5.48
Purply
#983FB2
ΔE00 6.99
Soft Purple
#A66FB5
ΔE00 7.11
Mediumorchid
#BA55D3
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CB7 #7CB75C
analogous
#6A5CB7 #975CB7 #B75CAA
triadic
#975CB7 #B7975C #5CB797
tetradic
#975CB7 #B76A5C #7CB75C #5CAAB7
square
#975CB7 #B76A5C #7CB75C #5CAAB7
split-complementary
#975CB7 #AAB75C #5CB76A
monochromatic
#552F6A #774294 #975CB7 #B286CA #CDB1DD
Accessibility & contrast
On white
4.64
#975CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#975CB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #975CB7
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975CB7 | 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)
#4771BA
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#946A81
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #975cb7; /* rgb */ color: rgb(151, 92, 183); /* oklch */ color: oklch(57.8% 0.147 312.6);
Tailwind
colors: {
custom: {
50: '#b78ccd',
500: '#975cb7',
950: '#000000',
},
}SCSS
$custom: #975cb7; $custom-light: #b78ccd; $custom-dark: #000000;
JSON
{
"hex": "#975cb7",
"rgb": {
"r": 151,
"g": 92,
"b": 183
},
"hsl": {
"h": 278.901,
"s": 38.723,
"l": 53.922
},
"oklch": {
"l": 0.57774,
"c": 0.14688,
"h": 312.6
},
"luminance": 0.17652
}Semantic roles & 50–950 ramp
primary
#975CB7
secondary
#B2CBA4
accent
#CF5982
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82