#97289F#97289F
#97289F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 325.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #97289F |
|---|---|
| RGB | rgb(151, 40, 159) |
| HSL | hsl(296, 60%, 39%) |
| HSV | hsv(296, 75%, 62%) |
| CMYK | cmyk(5%, 74.8%, 0%, 37.6%) |
| CIE-LAB | lab(38.90, 59.65, -40.76) |
| CIE-LCH | lch(38.90, 72.25, 325.65°) |
| OKLab | oklab(49.94% 0.1624 -0.1135) |
| OKLCH | oklch(49.94% 0.198 325.1) |
| XYZ | xyz(19.7788, 10.6014, 33.7987) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.08
Warm Purple
#952E8F
ΔE00 3.16
Barney
#AC1DB8
ΔE00 4.73
Purply
#983FB2
ΔE00 5.04
Medium Purple
#9E43A2
ΔE00 5.39
Darkmagenta
#8B008B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97289F #309F28
analogous
#5C289F #97289F #9F286C
triadic
#97289F #9F9728 #289F97
tetradic
#97289F #9F5C28 #309F28 #286C9F
square
#97289F #9F5C28 #309F28 #286C9F
split-complementary
#97289F #6C9F28 #289F5C
monochromatic
#3A0F3D #691C6E #97289F #C337CD #D268D9
Accessibility & contrast
On white
6.73
#97289F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#97289F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97289F
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97289F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97289F | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9A3D62
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #97289f; /* rgb */ color: rgb(151, 40, 159); /* oklch */ color: oklch(49.9% 0.198 325.1);
Tailwind
colors: {
custom: {
50: '#b96ebc',
500: '#97289f',
950: '#000000',
},
}SCSS
$custom: #97289f; $custom-light: #b96ebc; $custom-dark: #000000;
JSON
{
"hex": "#97289f",
"rgb": {
"r": 151,
"g": 40,
"b": 159
},
"hsl": {
"h": 295.966,
"s": 59.799,
"l": 39.02
},
"oklch": {
"l": 0.49935,
"c": 0.19814,
"h": 325.1
},
"luminance": 0.106
}Semantic roles & 50–950 ramp
primary
#97289F
secondary
#6ABF64
accent
#E3454F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81