#975AB7#975AB7
#975AB7 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.150 H 312.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #975AB7 |
|---|---|
| RGB | rgb(151, 90, 183) |
| HSL | hsl(279, 39%, 54%) |
| HSV | hsv(279, 51%, 72%) |
| CMYK | cmyk(17.5%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(48.65, 41.54, -39.49) |
| CIE-LCH | lch(48.65, 57.32, 316.45°) |
| OKLab | oklab(57.46% 0.1022 -0.1101) |
| OKLCH | oklch(57.46% 0.15 312.8) |
| XYZ | xyz(24.9644, 17.3111, 46.8169) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.16
Deep Lavender
#8D5EB7
ΔE00 2.45
Deep Lilac
#966EBD
ΔE00 6.03
Purply
#983FB2
ΔE00 6.43
Medium Purple
#9E43A2
ΔE00 6.86
Royal Purple
#7851A9
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975AB7 #7AB75A
analogous
#685AB7 #975AB7 #B75AA8
triadic
#975AB7 #B7975A #5AB797
tetradic
#975AB7 #B7685A #7AB75A #5AA8B7
square
#975AB7 #B7685A #7AB75A #5AA8B7
split-complementary
#975AB7 #A8B75A #5AB768
monochromatic
#552E69 #774093 #975AB7 #B285CA #CDAFDC
Accessibility & contrast
On white
4.71
#975AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#975AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975AB7
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975AB7 | 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)
#4470BA
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#946980
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #975ab7; /* rgb */ color: rgb(151, 90, 183); /* oklch */ color: oklch(57.5% 0.150 312.8);
Tailwind
colors: {
custom: {
50: '#b88bcd',
500: '#975ab7',
950: '#000000',
},
}SCSS
$custom: #975ab7; $custom-light: #b88bcd; $custom-dark: #000000;
JSON
{
"hex": "#975ab7",
"rgb": {
"r": 151,
"g": 90,
"b": 183
},
"hsl": {
"h": 279.355,
"s": 39.241,
"l": 53.529
},
"oklch": {
"l": 0.57461,
"c": 0.15021,
"h": 312.8
},
"luminance": 0.17311
}Semantic roles & 50–950 ramp
primary
#975AB7
secondary
#B0CAA2
accent
#CF5981
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82