#97378D#97378D

#97378D is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.4% C 0.165 H 332.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#97378D
RGBrgb(151, 55, 141)
HSLhsl(306, 47%, 40%)
HSVhsv(306, 64%, 59%)
CMYKcmyk(0%, 63.6%, 6.6%, 40.8%)
CIE-LABlab(39.98, 50.75, -28.15)
CIE-LCHlch(39.98, 58.04, 330.99°)
OKLaboklab(50.39% 0.1453 -0.0771)
OKLCHoklch(50.39% 0.165 332.1)
XYZxyz(18.9364, 11.2362, 26.3656)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97378D #379741
analogous
#713797 #97378D #97375D
triadic
#97378D #8D9737 #378D97
tetradic
#97378D #977137 #379741 #375D97
square
#97378D #977137 #379741 #375D97
split-complementary
#97378D #5D9737 #379771
monochromatic
#3D1639 #6A2763 #97378D #BE4DB2 #CF7AC6

Accessibility & contrast

On white

6.47
#97378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#97378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97378D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97378D#FFFFFF#000000##FFFFFF
##97378D1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335590
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#9D405D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97378d;
/* rgb */ color: rgb(151, 55, 141);
/* oklch */ color: oklch(50.4% 0.165 332.1);
Tailwind
colors: {
  custom: {
    50: '#b875ae',
    500: '#97378d',
    950: '#000000',
  },
}
SCSS
$custom: #97378d;
$custom-light: #b875ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97378d",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 306.25,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50392,
    "c": 0.1645,
    "h": 332.1
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#97378D
secondary
#72B879
accent
#D65F52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97378D

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

Preview Lab → · Contrast checker → · Palette generator →

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