#97238C#97238C

#97238C is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 332.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#97238C
RGBrgb(151, 35, 140)
HSLhsl(306, 62%, 36%)
HSVhsv(306, 77%, 59%)
CMYKcmyk(0%, 76.8%, 7.3%, 40.8%)
CIE-LABlab(37.26, 58.10, -31.81)
CIE-LCHlch(37.26, 66.24, 331.30°)
OKLaboklab(48.41% 0.1671 -0.0875)
OKLCHoklch(48.41% 0.189 332.4)
XYZxyz(18.0972, 9.6763, 25.7204)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97238C #23972E
analogous
#682397 #97238C #972352
triadic
#97238C #8C9723 #238C97
tetradic
#97238C #976823 #23972E #235297
square
#97238C #976823 #23972E #235297
split-complementary
#97238C #529723 #239768
monochromatic
#340C30 #65175E #97238C #C92FBA #D95BCD

Accessibility & contrast

On white

7.16
#97238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97238C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97238C#FFFFFF#000000##FFFFFF
##97238C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4D8F
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#9E3056
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97238c;
/* rgb */ color: rgb(151, 35, 140);
/* oklch */ color: oklch(48.4% 0.189 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96bae',
    500: '#97238c',
    950: '#000000',
  },
}
SCSS
$custom: #97238c;
$custom-light: #b96bae;
$custom-dark: #000000;
JSON
{
  "hex": "#97238c",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 305.69,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.18857,
    "h": 332.4
  },
  "luminance": 0.09675
}

Semantic roles & 50–950 ramp

primary
#97238C
secondary
#58BE62
accent
#E55242
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97238C

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

Preview Lab → · Contrast checker → · Palette generator →

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