#973BB7#973BB7
#973BB7 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.197 H 316.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #973BB7 |
|---|---|
| RGB | rgb(151, 59, 183) |
| HSL | hsl(285, 51%, 47%) |
| HSV | hsv(285, 68%, 72%) |
| CMYK | cmyk(17.5%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(42.95, 56.89, -48.56) |
| CIE-LCH | lch(42.95, 74.79, 319.52°) |
| OKLab | oklab(53.31% 0.1417 -0.1364) |
| OKLCH | oklch(53.31% 0.197 316.1) |
| XYZ | xyz(22.8724, 13.1270, 46.1195) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.26
Darkorchid
#9932CC
ΔE00 3.38
Barney
#AC1DB8
ΔE00 4.30
Medium Purple
#9E43A2
ΔE00 5.11
Ugly Purple
#A442A0
ΔE00 6.27
Vibrant Purple
#AD03DE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#973BB7 #5BB73B
analogous
#593BB7 #973BB7 #B73B99
triadic
#973BB7 #B7973B #3BB797
tetradic
#973BB7 #B7593B #5BB73B #3B99B7
square
#973BB7 #B7593B #5BB73B #3B99B7
split-complementary
#973BB7 #99B73B #3BB759
monochromatic
#4B1D5A #712C89 #973BB7 #B163CD #C891DC
Accessibility & contrast
On white
5.79
#973BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#973BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #973BB7
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##973BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##973BB7 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#3B68B4
Tritanopia (blue-blind)
#955374
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #973bb7; /* rgb */ color: rgb(151, 59, 183); /* oklch */ color: oklch(53.3% 0.197 316.1);
Tailwind
colors: {
custom: {
50: '#b978cd',
500: '#973bb7',
950: '#000000',
},
}SCSS
$custom: #973bb7; $custom-light: #b978cd; $custom-dark: #000000;
JSON
{
"hex": "#973bb7",
"rgb": {
"r": 151,
"g": 59,
"b": 183
},
"hsl": {
"h": 284.516,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.53305,
"c": 0.19667,
"h": 316.1
},
"luminance": 0.13126
}Semantic roles & 50–950 ramp
primary
#973BB7
secondary
#98C687
accent
#DB4D72
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82