#97368E#97368E

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

Color values

HEX#97368E
RGBrgb(151, 54, 142)
HSLhsl(306, 47%, 40%)
HSVhsv(306, 64%, 59%)
CMYKcmyk(0%, 64.2%, 6%, 40.8%)
CIE-LABlab(39.87, 51.36, -28.93)
CIE-LCHlch(39.87, 58.94, 330.61°)
OKLaboklab(50.33% 0.1467 -0.0793)
OKLCHoklch(50.33% 0.167 331.6)
XYZxyz(18.9641, 11.1720, 26.7435)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97368E #36973F
analogous
#6F3697 #97368E #97365D
triadic
#97368E #8E9736 #368E97
tetradic
#97368E #976F36 #36973F #365D97
square
#97368E #976F36 #36973F #365D97
split-complementary
#97368E #5D9736 #36976F
monochromatic
#3D1639 #6A2664 #97368E #BF4BB4 #CF78C7

Accessibility & contrast

On white

6.49
#97368E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#97368E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97368E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97368E#FFFFFF#000000##FFFFFF
##97368E1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#9D3F5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97368e;
/* rgb */ color: rgb(151, 54, 142);
/* oklch */ color: oklch(50.3% 0.167 331.6);
Tailwind
colors: {
  custom: {
    50: '#b874af',
    500: '#97368e',
    950: '#000000',
  },
}
SCSS
$custom: #97368e;
$custom-light: #b874af;
$custom-dark: #000000;
JSON
{
  "hex": "#97368e",
  "rgb": {
    "r": 151,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 305.567,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.16674,
    "h": 331.6
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#97368E
secondary
#71B878
accent
#D75D51
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97368E

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

Preview Lab → · Contrast checker → · Palette generator →

#97368E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva