#972CA2#972CA2
#972CA2 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.196 H 323.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #972CA2 |
|---|---|
| RGB | rgb(151, 44, 162) |
| HSL | hsl(294, 57%, 40%) |
| HSV | hsv(294, 73%, 64%) |
| CMYK | cmyk(6.8%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(39.56, 58.80, -41.51) |
| CIE-LCH | lch(39.56, 71.98, 324.78°) |
| OKLab | oklab(50.47% 0.1585 -0.1157) |
| OKLCH | oklch(50.47% 0.196 323.9) |
| XYZ | xyz(20.1842, 10.9905, 35.2337) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.57
Barney Purple
#A00498
ΔE00 3.76
Purply
#983FB2
ΔE00 4.28
Barney
#AC1DB8
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 4.91
Ugly Purple
#A442A0
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972CA2 #37A22C
analogous
#5C2CA2 #972CA2 #A22C72
triadic
#972CA2 #A2972C #2CA297
tetradic
#972CA2 #A25C2C #37A22C #2C72A2
square
#972CA2 #A25C2C #37A22C #2C72A2
split-complementary
#972CA2 #72A22C #2CA25C
monochromatic
#3D1242 #6A1F72 #972CA2 #BE40CB #CF70D8
Accessibility & contrast
On white
6.57
#972CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#972CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972CA2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972CA2 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9A4164
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #972ca2; /* rgb */ color: rgb(151, 44, 162); /* oklch */ color: oklch(50.5% 0.196 323.9);
Tailwind
colors: {
custom: {
50: '#b970be',
500: '#972ca2',
950: '#000000',
},
}SCSS
$custom: #972ca2; $custom-light: #b970be; $custom-dark: #000000;
JSON
{
"hex": "#972ca2",
"rgb": {
"r": 151,
"g": 44,
"b": 162
},
"hsl": {
"h": 294.407,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.50466,
"c": 0.19622,
"h": 323.9
},
"luminance": 0.10989
}Semantic roles & 50–950 ramp
primary
#972CA2
secondary
#72BF6A
accent
#E14756
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81