#972CBF#972CBF
#972CBF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.4% C 0.221 H 314.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #972CBF |
|---|---|
| RGB | rgb(151, 44, 191) |
| HSL | hsl(284, 63%, 46%) |
| HSV | hsv(284, 77%, 75%) |
| CMYK | cmyk(20.9%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(41.44, 64.28, -55.68) |
| CIE-LCH | lch(41.44, 85.04, 319.10°) |
| OKLab | oklab(52.4% 0.1554 -0.1572) |
| OKLCH | oklch(52.4% 0.221 314.7) |
| XYZ | xyz(23.0656, 12.1431, 50.4090) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.28
Purply
#983FB2
ΔE00 3.84
Darkviolet
#9400D3
ΔE00 4.19
Barney
#AC1DB8
ΔE00 4.19
Vibrant Purple
#AD03DE
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#972CBF #54BF2C
analogous
#4D2CBF #972CBF #BF2C9D
triadic
#972CBF #BF972C #2CBF97
tetradic
#972CBF #BF4D2C #54BF2C #2C9DBF
square
#972CBF #BF4D2C #54BF2C #2C9DBF
split-complementary
#972CBF #9DBF2C #2CBF4D
monochromatic
#48155C #70218D #972CBF #B351D7 #C883E2
Accessibility & contrast
On white
6.13
#972CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#972CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #972CBF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##972CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##972CBF | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#2364BC
Tritanopia (blue-blind)
#934E75
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #972cbf; /* rgb */ color: rgb(151, 44, 191); /* oklch */ color: oklch(52.4% 0.221 314.7);
Tailwind
colors: {
custom: {
50: '#ba71d3',
500: '#972cbf',
950: '#000000',
},
}SCSS
$custom: #972cbf; $custom-light: #ba71d3; $custom-dark: #000000;
JSON
{
"hex": "#972cbf",
"rgb": {
"r": 151,
"g": 44,
"b": 191
},
"hsl": {
"h": 283.673,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.52398,
"c": 0.22109,
"h": 314.7
},
"luminance": 0.12142
}Semantic roles & 50–950 ramp
primary
#972CBF
secondary
#91CC7B
accent
#E6426F
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120914
muted
#817B83