#97319E#97319E
#97319E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 325.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #97319E |
|---|---|
| RGB | rgb(151, 49, 158) |
| HSL | hsl(296, 53%, 41%) |
| HSV | hsv(296, 69%, 62%) |
| CMYK | cmyk(4.4%, 69%, 0%, 38%) |
| CIE-LAB | lab(39.99, 56.21, -38.42) |
| CIE-LCH | lch(39.99, 68.09, 325.65°) |
| OKLab | oklab(50.7% 0.1534 -0.1067) |
| OKLCH | oklch(50.7% 0.187 325.2) |
| XYZ | xyz(20.0319, 11.2458, 33.4567) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.81
Barney Purple
#A00498
ΔE00 4.00
Medium Purple
#9E43A2
ΔE00 4.09
Purply
#983FB2
ΔE00 4.31
Barney
#AC1DB8
ΔE00 4.85
Ugly Purple
#A442A0
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97319E #389E31
analogous
#60319E #97319E #9E316E
triadic
#97319E #9E9731 #319E97
tetradic
#97319E #9E6031 #389E31 #316E9E
square
#97319E #9E6031 #389E31 #316E9E
split-complementary
#97319E #6E9E31 #319E60
monochromatic
#3E1441 #6A236F #97319E #BE46C6 #CE75D4
Accessibility & contrast
On white
6.46
#97319E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#97319E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97319E
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97319E | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#47639B
Tritanopia (blue-blind)
#9A4264
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #97319e; /* rgb */ color: rgb(151, 49, 158); /* oklch */ color: oklch(50.7% 0.187 325.2);
Tailwind
colors: {
custom: {
50: '#b972bb',
500: '#97319e',
950: '#000000',
},
}SCSS
$custom: #97319e; $custom-light: #b972bb; $custom-dark: #000000;
JSON
{
"hex": "#97319e",
"rgb": {
"r": 151,
"g": 49,
"b": 158
},
"hsl": {
"h": 296.147,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.50697,
"c": 0.18687,
"h": 325.2
},
"luminance": 0.11245
}Semantic roles & 50–950 ramp
primary
#97319E
secondary
#73BC6E
accent
#DC4C55
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81