#972FC2#972FC2
#972FC2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.9% C 0.221 H 313.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #972FC2 |
|---|---|
| RGB | rgb(151, 47, 194) |
| HSL | hsl(282, 61%, 47%) |
| HSV | hsv(282, 76%, 76%) |
| CMYK | cmyk(22.2%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(42.01, 63.83, -56.51) |
| CIE-LCH | lch(42.01, 85.25, 318.48°) |
| OKLab | oklab(52.87% 0.1524 -0.1597) |
| OKLCH | oklch(52.87% 0.221 313.7) |
| XYZ | xyz(23.5149, 12.5082, 52.2041) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.65
Purply
#983FB2
ΔE00 3.79
Darkviolet
#9400D3
ΔE00 4.26
Barney
#AC1DB8
ΔE00 4.45
Vibrant Purple
#AD03DE
ΔE00 4.64
Blueviolet
#8A2BE2
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972FC2 #5AC22F
analogous
#4E2FC2 #972FC2 #C22FA4
triadic
#972FC2 #C2972F #2FC297
tetradic
#972FC2 #C24E2F #5AC22F #2FA4C2
square
#972FC2 #C24E2F #5AC22F #2FA4C2
split-complementary
#972FC2 #A4C22F #2FC24E
monochromatic
#4A175F #712391 #972FC2 #B158D6 #C889E2
Accessibility & contrast
On white
6.00
#972FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#972FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972FC2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972FC2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2165BF
Tritanopia (blue-blind)
#935177
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #972fc2; /* rgb */ color: rgb(151, 47, 194); /* oklch */ color: oklch(52.9% 0.221 313.7);
Tailwind
colors: {
custom: {
50: '#ba73d5',
500: '#972fc2',
950: '#000000',
},
}SCSS
$custom: #972fc2; $custom-light: #ba73d5; $custom-dark: #000000;
JSON
{
"hex": "#972fc2",
"rgb": {
"r": 151,
"g": 47,
"b": 194
},
"hsl": {
"h": 282.449,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.52866,
"c": 0.22071,
"h": 313.7
},
"luminance": 0.12507
}Semantic roles & 50–950 ramp
primary
#972FC2
secondary
#97CC81
accent
#E44473
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83