#97299F#97299F
#97299F is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.197 H 325.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #97299F |
|---|---|
| RGB | rgb(151, 41, 159) |
| HSL | hsl(296, 59%, 39%) |
| HSV | hsv(296, 74%, 62%) |
| CMYK | cmyk(5%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(39.02, 59.32, -40.57) |
| CIE-LCH | lch(39.02, 71.87, 325.63°) |
| OKLab | oklab(50.02% 0.1615 -0.113) |
| OKLCH | oklch(50.02% 0.197 325) |
| XYZ | xyz(19.8130, 10.6697, 33.8100) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.12
Barney Purple
#A00498
ΔE00 3.17
Barney
#AC1DB8
ΔE00 4.71
Purply
#983FB2
ΔE00 4.94
Medium Purple
#9E43A2
ΔE00 5.26
Darkmagenta
#8B008B
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97299F #319F29
analogous
#5C299F #97299F #9F296C
triadic
#97299F #9F9729 #299F97
tetradic
#97299F #9F5C29 #319F29 #296C9F
square
#97299F #9F5C29 #319F29 #296C9F
split-complementary
#97299F #6C9F29 #299F5C
monochromatic
#3B103E #691C6E #97299F #C239CC #D16AD9
Accessibility & contrast
On white
6.70
#97299F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#97299F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97299F
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97299F | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9A3E62
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #97299f; /* rgb */ color: rgb(151, 41, 159); /* oklch */ color: oklch(50.0% 0.197 325.0);
Tailwind
colors: {
custom: {
50: '#b96fbc',
500: '#97299f',
950: '#000000',
},
}SCSS
$custom: #97299f; $custom-light: #b96fbc; $custom-dark: #000000;
JSON
{
"hex": "#97299f",
"rgb": {
"r": 151,
"g": 41,
"b": 159
},
"hsl": {
"h": 295.932,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.50019,
"c": 0.19707,
"h": 325
},
"luminance": 0.10668
}Semantic roles & 50–950 ramp
primary
#97299F
secondary
#6BBF65
accent
#E24650
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81