#97299B#97299B
#97299B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.194 H 326.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #97299B |
|---|---|
| RGB | rgb(151, 41, 155) |
| HSL | hsl(298, 58%, 38%) |
| HSV | hsv(298, 74%, 61%) |
| CMYK | cmyk(2.6%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(38.78, 58.62, -38.53) |
| CIE-LCH | lch(38.78, 70.15, 326.68°) |
| OKLab | oklab(49.78% 0.1616 -0.107) |
| OKLCH | oklch(49.78% 0.194 326.5) |
| XYZ | xyz(19.4715, 10.5331, 32.0115) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.40
Barney Purple
#A00498
ΔE00 2.86
Barney
#AC1DB8
ΔE00 5.19
Medium Purple
#9E43A2
ΔE00 5.25
Darkmagenta
#8B008B
ΔE00 5.26
Purply
#983FB2
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97299B #2D9B29
analogous
#5E299B #97299B #9B2966
triadic
#97299B #9B9729 #299B97
tetradic
#97299B #9B5E29 #2D9B29 #29669B
square
#97299B #9B5E29 #2D9B29 #29669B
split-complementary
#97299B #669B29 #299B5E
monochromatic
#390F3A #681C6B #97299B #C537CA #D367D7
Accessibility & contrast
On white
6.76
#97299B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#97299B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97299B
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97299B | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9B3C60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #97299b; /* rgb */ color: rgb(151, 41, 155); /* oklch */ color: oklch(49.8% 0.194 326.5);
Tailwind
colors: {
custom: {
50: '#b96eb9',
500: '#97299b',
950: '#000000',
},
}SCSS
$custom: #97299b; $custom-light: #b96eb9; $custom-dark: #000000;
JSON
{
"hex": "#97299b",
"rgb": {
"r": 151,
"g": 41,
"b": 155
},
"hsl": {
"h": 297.895,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.49775,
"c": 0.19382,
"h": 326.5
},
"luminance": 0.10532
}Semantic roles & 50–950 ramp
primary
#97299B
secondary
#66BD63
accent
#E1464C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80