#97378B#97378B

#97378B is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.3% C 0.163 H 333.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#97378B
RGBrgb(151, 55, 139)
HSLhsl(308, 47%, 40%)
HSVhsv(308, 64%, 59%)
CMYKcmyk(0%, 63.6%, 7.9%, 40.8%)
CIE-LABlab(39.88, 50.42, -27.08)
CIE-LCHlch(39.88, 57.23, 331.76°)
OKLaboklab(50.29% 0.1451 -0.074)
OKLCHoklch(50.29% 0.163 333)
XYZxyz(18.7889, 11.1772, 25.5889)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97378B #379743
analogous
#733797 #97378B #97375B
triadic
#97378B #8B9737 #378B97
tetradic
#97378B #977337 #379743 #375B97
square
#97378B #977337 #379743 #375B97
split-complementary
#97378B #5B9737 #379773
monochromatic
#3D1638 #6A2762 #97378B #BE4DB0 #CF7AC4

Accessibility & contrast

On white

6.49
#97378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#97378B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97378B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97378B#FFFFFF#000000##FFFFFF
##97378B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558E
Deuteranopia (green-blind)
#546388
Tritanopia (blue-blind)
#9D3F5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97378b;
/* rgb */ color: rgb(151, 55, 139);
/* oklch */ color: oklch(50.3% 0.163 333.0);
Tailwind
colors: {
  custom: {
    50: '#b875ad',
    500: '#97378b',
    950: '#000000',
  },
}
SCSS
$custom: #97378b;
$custom-light: #b875ad;
$custom-dark: #000000;
JSON
{
  "hex": "#97378b",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 307.5,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50288,
    "c": 0.16286,
    "h": 333
  },
  "luminance": 0.11176
}

Semantic roles & 50–950 ramp

primary
#97378B
secondary
#72B87B
accent
#D66252
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97378B

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

Preview Lab → · Contrast checker → · Palette generator →

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