#97238B#97238B

#97238B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.188 H 332.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#97238B
RGBrgb(151, 35, 139)
HSLhsl(306, 62%, 36%)
HSVhsv(306, 77%, 59%)
CMYKcmyk(0%, 76.8%, 7.9%, 40.8%)
CIE-LABlab(37.20, 57.94, -31.28)
CIE-LCHlch(37.20, 65.85, 331.63°)
OKLaboklab(48.35% 0.167 -0.086)
OKLCHoklch(48.35% 0.188 332.8)
XYZxyz(18.0238, 9.6470, 25.3339)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97238B #23972F
analogous
#692397 #97238B #972351
triadic
#97238B #8B9723 #238B97
tetradic
#97238B #976923 #23972F #235197
square
#97238B #976923 #23972F #235197
split-complementary
#97238B #519723 #239769
monochromatic
#340C30 #65175D #97238B #C92FB9 #D95BCC

Accessibility & contrast

On white

7.17
#97238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#97238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97238B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97238B#FFFFFF#000000##FFFFFF
##97238B1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4D8E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#9E3055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97238b;
/* rgb */ color: rgb(151, 35, 139);
/* oklch */ color: oklch(48.4% 0.188 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96bad',
    500: '#97238b',
    950: '#000000',
  },
}
SCSS
$custom: #97238b;
$custom-light: #b96bad;
$custom-dark: #000000;
JSON
{
  "hex": "#97238b",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 306.207,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.18783,
    "h": 332.8
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#97238B
secondary
#58BE63
accent
#E55342
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97238B

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

Preview Lab → · Contrast checker → · Palette generator →

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