#97378F#97378F

#97378F is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.166 H 331.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#97378F
RGBrgb(151, 55, 143)
HSLhsl(305, 47%, 40%)
HSVhsv(305, 64%, 59%)
CMYKcmyk(0%, 63.6%, 5.3%, 40.8%)
CIE-LABlab(40.07, 51.09, -29.21)
CIE-LCHlch(40.07, 58.86, 330.24°)
OKLaboklab(50.5% 0.1455 -0.0801)
OKLCHoklch(50.5% 0.166 331.2)
XYZxyz(19.0865, 11.2962, 27.1564)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97378F #37973F
analogous
#6F3797 #97378F #97375F
triadic
#97378F #8F9737 #378F97
tetradic
#97378F #976F37 #37973F #375F97
square
#97378F #976F37 #37973F #375F97
split-complementary
#97378F #5F9737 #37976F
monochromatic
#3D163A #6A2765 #97378F #BE4DB5 #CF7AC7

Accessibility & contrast

On white

6.44
#97378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#97378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97378F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97378F#FFFFFF#000000##FFFFFF
##97378F1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#9D405E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97378f;
/* rgb */ color: rgb(151, 55, 143);
/* oklch */ color: oklch(50.5% 0.166 331.2);
Tailwind
colors: {
  custom: {
    50: '#b875b0',
    500: '#97378f',
    950: '#000000',
  },
}
SCSS
$custom: #97378f;
$custom-light: #b875b0;
$custom-dark: #000000;
JSON
{
  "hex": "#97378f",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 305,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.16614,
    "h": 331.2
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#97378F
secondary
#72B878
accent
#D65D52
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120910
muted
#817B7F

Preview Lab

Preview with #97378F

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

Preview Lab → · Contrast checker → · Palette generator →

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