#97398D#97398D

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

Color values

HEX#97398D
RGBrgb(151, 57, 141)
HSLhsl(306, 45%, 41%)
HSVhsv(306, 62%, 59%)
CMYKcmyk(0%, 62.3%, 6.6%, 40.8%)
CIE-LABlab(40.30, 49.87, -27.65)
CIE-LCHlch(40.30, 57.02, 331.00°)
OKLaboklab(50.63% 0.1427 -0.0757)
OKLCHoklch(50.63% 0.162 332.1)
XYZxyz(19.0333, 11.4300, 26.3979)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97398D #399743
analogous
#723997 #97398D #97395E
triadic
#97398D #8D9739 #398D97
tetradic
#97398D #977239 #399743 #395E97
square
#97398D #977239 #399743 #395E97
split-complementary
#97398D #5E9739 #399772
monochromatic
#3E173A #6B2864 #97398D #BD50B1 #CE7DC5

Accessibility & contrast

On white

6.39
#97398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#97398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97398D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97398D#FFFFFF#000000##FFFFFF
##97398D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#54648B
Tritanopia (blue-blind)
#9D415E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97398d;
/* rgb */ color: rgb(151, 57, 141);
/* oklch */ color: oklch(50.6% 0.162 332.1);
Tailwind
colors: {
  custom: {
    50: '#b876ae',
    500: '#97398d',
    950: '#000000',
  },
}
SCSS
$custom: #97398d;
$custom-light: #b876ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97398d",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 306.383,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.16157,
    "h": 332.1
  },
  "luminance": 0.11429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97398D

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

Preview Lab → · Contrast checker → · Palette generator →

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