#97378C#97378C

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

Color values

HEX#97378C
RGBrgb(151, 55, 140)
HSLhsl(307, 47%, 40%)
HSVhsv(307, 64%, 59%)
CMYKcmyk(0%, 63.6%, 7.3%, 40.8%)
CIE-LABlab(39.93, 50.58, -27.62)
CIE-LCHlch(39.93, 57.63, 331.37°)
OKLaboklab(50.34% 0.1452 -0.0756)
OKLCHoklch(50.34% 0.164 332.5)
XYZxyz(18.8623, 11.2066, 25.9755)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97378C #379742
analogous
#723797 #97378C #97375C
triadic
#97378C #8C9737 #378C97
tetradic
#97378C #977237 #379742 #375C97
square
#97378C #977237 #379742 #375C97
split-complementary
#97378C #5C9737 #379772
monochromatic
#3D1639 #6A2762 #97378C #BE4DB1 #CF7AC5

Accessibility & contrast

On white

6.48
#97378C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97378C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97378C#FFFFFF#000000##FFFFFF
##97378C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#536389
Tritanopia (blue-blind)
#9D3F5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97378c;
/* rgb */ color: rgb(151, 55, 140);
/* oklch */ color: oklch(50.3% 0.164 332.5);
Tailwind
colors: {
  custom: {
    50: '#b875ae',
    500: '#97378c',
    950: '#000000',
  },
}
SCSS
$custom: #97378c;
$custom-light: #b875ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97378c",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 306.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.16368,
    "h": 332.5
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#97378C
secondary
#72B87A
accent
#D66152
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97378C

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

Preview Lab → · Contrast checker → · Palette generator →

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