#97299A#97299A

#97299A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.193 H 326.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#97299A
RGBrgb(151, 41, 154)
HSLhsl(298, 58%, 38%)
HSVhsv(298, 73%, 60%)
CMYKcmyk(1.9%, 73.4%, 0%, 39.6%)
CIE-LABlab(38.72, 58.45, -38.02)
CIE-LCHlch(38.72, 69.73, 326.95°)
OKLaboklab(49.71% 0.1616 -0.1055)
OKLCHoklch(49.71% 0.193 326.9)
XYZxyz(19.3878, 10.4996, 31.5711)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97299A #2C9A29
analogous
#5E299A #97299A #9A2964
triadic
#97299A #9A9729 #299A97
tetradic
#97299A #9A5E29 #2C9A29 #29649A
square
#97299A #9A5E29 #2C9A29 #29649A
split-complementary
#97299A #649A29 #299A5E
monochromatic
#380F39 #681C6A #97299A #C637CA #D467D7

Accessibility & contrast

On white

6.78
#97299A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#97299A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97299A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97299A#FFFFFF#000000##FFFFFF
##97299A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#9B3B5F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #97299a;
/* rgb */ color: rgb(151, 41, 154);
/* oklch */ color: oklch(49.7% 0.193 326.9);
Tailwind
colors: {
  custom: {
    50: '#b96eb8',
    500: '#97299a',
    950: '#000000',
  },
}
SCSS
$custom: #97299a;
$custom-light: #b96eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97299a",
  "rgb": {
    "r": 151,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 298.407,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49714,
    "c": 0.19301,
    "h": 326.9
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#97299A
secondary
#65BD62
accent
#E1474B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #97299A

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

Preview Lab → · Contrast checker → · Palette generator →

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