#975CA2#975CA2
#975CA2 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 56.7% C 0.123 H 321.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #975CA2 |
|---|---|
| RGB | rgb(151, 92, 162) |
| HSL | hsl(291, 28%, 50%) |
| HSV | hsv(291, 43%, 64%) |
| CMYK | cmyk(6.8%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(48.06, 35.95, -28.11) |
| CIE-LCH | lch(48.06, 45.63, 321.97°) |
| OKLab | oklab(56.69% 0.0959 -0.0773) |
| OKLCH | oklch(56.69% 0.123 321.1) |
| XYZ | xyz(23.1105, 16.8431, 36.2091) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish
#94568C
ΔE00 5.02
Purpleish
#98568D
ΔE00 5.08
Dark Lilac
#9C6DA5
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 5.99
Dark Lavender
#856798
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#975CA2 #67A25C
analogous
#745CA2 #975CA2 #A25C8A
triadic
#975CA2 #A2975C #5CA297
tetradic
#975CA2 #A2745C #67A25C #5C8AA2
square
#975CA2 #A2745C #67A25C #5C8AA2
split-complementary
#975CA2 #8AA25C #5CA274
monochromatic
#4E3054 #73467B #975CA2 #B083B8 #C9AACF
Accessibility & contrast
On white
4.81
#975CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#975CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #975CA2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##975CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##975CA2 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536EA4
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#986477
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #975ca2; /* rgb */ color: rgb(151, 92, 162); /* oklch */ color: oklch(56.7% 0.123 321.1);
Tailwind
colors: {
custom: {
50: '#b78cbe',
500: '#975ca2',
950: '#000000',
},
}SCSS
$custom: #975ca2; $custom-light: #b78cbe; $custom-dark: #000000;
JSON
{
"hex": "#975ca2",
"rgb": {
"r": 151,
"g": 92,
"b": 162
},
"hsl": {
"h": 290.571,
"s": 27.559,
"l": 49.804
},
"oklch": {
"l": 0.5669,
"c": 0.12321,
"h": 321.1
},
"luminance": 0.16842
}Semantic roles & 50–950 ramp
primary
#975CA2
secondary
#A2BD9D
accent
#C46473
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81