#97398A#97398A

#97398A is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.159 H 333.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#97398A
RGBrgb(151, 57, 138)
HSLhsl(308, 45%, 41%)
HSVhsv(308, 62%, 59%)
CMYKcmyk(0%, 62.3%, 8.6%, 40.8%)
CIE-LABlab(40.15, 49.36, -26.04)
CIE-LCHlch(40.15, 55.81, 332.18°)
OKLaboklab(50.47% 0.1424 -0.0711)
OKLCHoklch(50.47% 0.159 333.5)
XYZxyz(18.8131, 11.3420, 25.2382)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97398A #399746
analogous
#753997 #97398A #97395B
triadic
#97398A #8A9739 #398A97
tetradic
#97398A #977539 #399746 #395B97
square
#97398A #977539 #399746 #395B97
split-complementary
#97398A #5B9739 #399775
monochromatic
#3E1739 #6B2861 #97398A #BD50AE #CE7DC3

Accessibility & contrast

On white

6.43
#97398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#97398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97398A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97398A#FFFFFF#000000##FFFFFF
##97398A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#9E405C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97398a;
/* rgb */ color: rgb(151, 57, 138);
/* oklch */ color: oklch(50.5% 0.159 333.5);
Tailwind
colors: {
  custom: {
    50: '#b876ac',
    500: '#97398a',
    950: '#000000',
  },
}
SCSS
$custom: #97398a;
$custom-light: #b876ac;
$custom-dark: #000000;
JSON
{
  "hex": "#97398a",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 308.298,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.15911,
    "h": 333.5
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#97398A
secondary
#75B77E
accent
#D56553
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97398A

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

Preview Lab → · Contrast checker → · Palette generator →

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