#973AB2#973AB2
#973AB2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.193 H 317.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #973AB2 |
|---|---|
| RGB | rgb(151, 58, 178) |
| HSL | hsl(287, 51%, 46%) |
| HSV | hsv(287, 67%, 70%) |
| CMYK | cmyk(15.2%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(42.49, 56.31, -46.35) |
| CIE-LCH | lch(42.49, 72.93, 320.54°) |
| OKLab | oklab(52.87% 0.143 -0.13) |
| OKLCH | oklch(52.87% 0.193 317.7) |
| XYZ | xyz(22.3103, 12.8207, 43.4103) |
| Luminance | 0.1282 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.04
Barney
#AC1DB8
ΔE00 4.08
Darkorchid
#9932CC
ΔE00 4.14
Medium Purple
#9E43A2
ΔE00 4.49
Ugly Purple
#A442A0
ΔE00 5.67
Warm Purple
#952E8F
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#973AB2 #55B23A
analogous
#5B3AB2 #973AB2 #B23A91
triadic
#973AB2 #B2973A #3AB297
tetradic
#973AB2 #B25B3A #55B23A #3A91B2
square
#973AB2 #B25B3A #55B23A #3A91B2
split-complementary
#973AB2 #91B23A #3AB25B
monochromatic
#491C56 #702B84 #973AB2 #B25FCB #C88DDA
Accessibility & contrast
On white
5.89
#973AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#973AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #973AB2
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##973AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##973AB2 | 1.00 | 5.89 | 3.56 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#025EB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#965071
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #973ab2; /* rgb */ color: rgb(151, 58, 178); /* oklch */ color: oklch(52.9% 0.193 317.7);
Tailwind
colors: {
custom: {
50: '#b977ca',
500: '#973ab2',
950: '#000000',
},
}SCSS
$custom: #973ab2; $custom-light: #b977ca; $custom-dark: #000000;
JSON
{
"hex": "#973ab2",
"rgb": {
"r": 151,
"g": 58,
"b": 178
},
"hsl": {
"h": 286.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.52874,
"c": 0.19325,
"h": 317.7
},
"luminance": 0.1282
}Semantic roles & 50–950 ramp
primary
#973AB2
secondary
#92C483
accent
#DA4D6D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82