#97398C#97398C

#97398C is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.161 H 332.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#97398C
RGBrgb(151, 57, 140)
HSLhsl(307, 45%, 41%)
HSVhsv(307, 62%, 59%)
CMYKcmyk(0%, 62.3%, 7.3%, 40.8%)
CIE-LABlab(40.25, 49.70, -27.11)
CIE-LCHlch(40.25, 56.62, 331.39°)
OKLaboklab(50.57% 0.1426 -0.0741)
OKLCHoklch(50.57% 0.161 332.5)
XYZxyz(18.9593, 11.4004, 26.0078)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97398C #399744
analogous
#733997 #97398C #97395D
triadic
#97398C #8C9739 #398C97
tetradic
#97398C #977339 #399744 #395D97
square
#97398C #977339 #399744 #395D97
split-complementary
#97398C #5D9739 #399773
monochromatic
#3E173A #6B2863 #97398C #BD50B0 #CE7DC4

Accessibility & contrast

On white

6.40
#97398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#97398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97398C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97398C#FFFFFF#000000##FFFFFF
##97398C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36568F
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#9D415D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97398c;
/* rgb */ color: rgb(151, 57, 140);
/* oklch */ color: oklch(50.6% 0.161 332.5);
Tailwind
colors: {
  custom: {
    50: '#b876ae',
    500: '#97398c',
    950: '#000000',
  },
}
SCSS
$custom: #97398c;
$custom-light: #b876ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97398c",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 307.021,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50574,
    "c": 0.16074,
    "h": 332.5
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#97398C
secondary
#75B77C
accent
#D56253
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97398C

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

Preview Lab → · Contrast checker → · Palette generator →

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