#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
RGBrgb(151, 41, 155)
HSLhsl(298, 58%, 38%)
HSVhsv(298, 74%, 61%)
CMYKcmyk(2.6%, 73.5%, 0%, 39.2%)
CIE-LABlab(38.78, 58.62, -38.53)
CIE-LCHlch(38.78, 70.15, 326.68°)
OKLaboklab(49.78% 0.1616 -0.107)
OKLCHoklch(49.78% 0.194 326.5)
XYZxyz(19.4715, 10.5331, 32.0115)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##97299B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.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

Preview Lab

Preview with #97299B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#97299B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva