#972095#972095
#972095 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.198 H 328.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #972095 |
|---|---|
| RGB | rgb(151, 32, 149) |
| HSL | hsl(301, 65%, 36%) |
| HSV | hsv(301, 79%, 59%) |
| CMYK | cmyk(0%, 78.8%, 1.3%, 40.8%) |
| CIE-LAB | lab(37.45, 60.43, -37.01) |
| CIE-LCH | lch(37.45, 70.86, 328.52°) |
| OKLab | oklab(48.71% 0.1697 -0.1025) |
| OKLCH | oklch(48.71% 0.198 328.9) |
| XYZ | xyz(18.7037, 9.7837, 29.3313) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.88
Warm Purple
#952E8F
ΔE00 2.23
Darkmagenta
#8B008B
ΔE00 4.05
Purple (survey)
#7E1E9C
ΔE00 5.87
Barney
#AC1DB8
ΔE00 6.18
Purple
#800080
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972095 #209722
analogous
#5D2097 #972095 #972059
triadic
#972095 #959720 #209597
tetradic
#972095 #975D20 #209722 #205997
square
#972095 #975D20 #209722 #205997
split-complementary
#972095 #599720 #20975D
monochromatic
#320B31 #641563 #972095 #C92BC7 #DB56D9
Accessibility & contrast
On white
7.10
#972095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#972095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #972095
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972095 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034E98
Deuteranopia (green-blind)
#445D92
Tritanopia (blue-blind)
#9C335A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #972095; /* rgb */ color: rgb(151, 32, 149); /* oklch */ color: oklch(48.7% 0.198 328.9);
Tailwind
colors: {
custom: {
50: '#b96bb4',
500: '#972095',
950: '#000000',
},
}SCSS
$custom: #972095; $custom-light: #b96bb4; $custom-dark: #000000;
JSON
{
"hex": "#972095",
"rgb": {
"r": 151,
"g": 32,
"b": 149
},
"hsl": {
"h": 301.008,
"s": 65.027,
"l": 35.882
},
"oklch": {
"l": 0.48712,
"c": 0.19824,
"h": 328.9
},
"luminance": 0.09782
}Semantic roles & 50–950 ramp
primary
#972095
secondary
#54BF56
accent
#E84340
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80