#972FC6#972FC6
#972FC6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.224 H 312.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #972FC6 |
|---|---|
| RGB | rgb(151, 47, 198) |
| HSL | hsl(281, 62%, 48%) |
| HSV | hsv(281, 76%, 78%) |
| CMYK | cmyk(23.7%, 76.3%, 0%, 22.4%) |
| CIE-LAB | lab(42.29, 64.64, -58.39) |
| CIE-LCH | lch(42.29, 87.11, 317.91°) |
| OKLab | oklab(53.15% 0.1517 -0.1652) |
| OKLCH | oklch(53.15% 0.224 312.6) |
| XYZ | xyz(23.9702, 12.6903, 54.6019) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.13
Darkviolet
#9400D3
ΔE00 4.01
Purply
#983FB2
ΔE00 4.21
Vibrant Purple
#AD03DE
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 4.78
Barney
#AC1DB8
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972FC6 #5EC62F
analogous
#4C2FC6 #972FC6 #C62FA9
triadic
#972FC6 #C6972F #2FC697
tetradic
#972FC6 #C64C2F #5EC62F #2FA9C6
square
#972FC6 #C64C2F #5EC62F #2FA9C6
split-complementary
#972FC6 #A9C62F #2FC64C
monochromatic
#4C1863 #712395 #972FC6 #B15AD8 #C88CE4
Accessibility & contrast
On white
5.94
#972FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#972FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972FC6
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972FC6 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#1866C3
Tritanopia (blue-blind)
#925379
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #972fc6; /* rgb */ color: rgb(151, 47, 198); /* oklch */ color: oklch(53.2% 0.224 312.6);
Tailwind
colors: {
custom: {
50: '#ba73d8',
500: '#972fc6',
950: '#000000',
},
}SCSS
$custom: #972fc6; $custom-light: #ba73d8; $custom-dark: #000000;
JSON
{
"hex": "#972fc6",
"rgb": {
"r": 151,
"g": 47,
"b": 198
},
"hsl": {
"h": 281.325,
"s": 61.633,
"l": 48.039
},
"oklch": {
"l": 0.53152,
"c": 0.22428,
"h": 312.6
},
"luminance": 0.1269
}Semantic roles & 50–950 ramp
primary
#972FC6
secondary
#9ACE83
accent
#E54375
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120915
muted
#817B83