#972BA5#972BA5
#972BA5 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.200 H 322.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #972BA5 |
|---|---|
| RGB | rgb(151, 43, 165) |
| HSL | hsl(293, 59%, 41%) |
| HSV | hsv(293, 74%, 65%) |
| CMYK | cmyk(8.5%, 73.9%, 0%, 35.3%) |
| CIE-LAB | lab(39.62, 59.70, -43.21) |
| CIE-LCH | lch(39.62, 73.70, 324.10°) |
| OKLab | oklab(50.57% 0.1593 -0.1207) |
| OKLCH | oklch(50.57% 0.2 322.9) |
| XYZ | xyz(20.4172, 11.0249, 36.6426) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 4.01
Purply
#983FB2
ΔE00 4.08
Barney
#AC1DB8
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.12
Medium Purple
#9E43A2
ΔE00 5.17
Purple (survey)
#7E1E9C
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972BA5 #39A52B
analogous
#5A2BA5 #972BA5 #A52B76
triadic
#972BA5 #A5972B #2BA597
tetradic
#972BA5 #A55A2B #39A52B #2B76A5
square
#972BA5 #A55A2B #39A52B #2B76A5
split-complementary
#972BA5 #76A52B #2BA55A
monochromatic
#3E1244 #6B1E74 #972BA5 #BD40CD #CE71DA
Accessibility & contrast
On white
6.55
#972BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#972BA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972BA5
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972BA5 | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#994266
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #972ba5; /* rgb */ color: rgb(151, 43, 165); /* oklch */ color: oklch(50.6% 0.200 322.9);
Tailwind
colors: {
custom: {
50: '#b970c0',
500: '#972ba5',
950: '#000000',
},
}SCSS
$custom: #972ba5; $custom-light: #b970c0; $custom-dark: #000000;
JSON
{
"hex": "#972ba5",
"rgb": {
"r": 151,
"g": 43,
"b": 165
},
"hsl": {
"h": 293.115,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.50566,
"c": 0.19984,
"h": 322.9
},
"luminance": 0.11024
}Semantic roles & 50–950 ramp
primary
#972BA5
secondary
#75C16B
accent
#E24658
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81