#97238A#97238A

#97238A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.187 H 333.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#97238A
RGBrgb(151, 35, 138)
HSLhsl(307, 62%, 36%)
HSVhsv(307, 77%, 59%)
CMYKcmyk(0%, 76.8%, 8.6%, 40.8%)
CIE-LABlab(37.15, 57.79, -30.75)
CIE-LCHlch(37.15, 65.46, 331.98°)
OKLaboklab(48.3% 0.167 -0.0844)
OKLCHoklch(48.3% 0.187 333.2)
XYZxyz(17.9511, 9.6179, 24.9508)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97238A #239730
analogous
#6A2397 #97238A #972350
triadic
#97238A #8A9723 #238A97
tetradic
#97238A #976A23 #239730 #235097
square
#97238A #976A23 #239730 #235097
split-complementary
#97238A #509723 #23976A
monochromatic
#340C2F #65175D #97238A #C92FB7 #D95BCB

Accessibility & contrast

On white

7.18
#97238A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#97238A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97238A
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97238A#FFFFFF#000000##FFFFFF
##97238A1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#9E2F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97238a;
/* rgb */ color: rgb(151, 35, 138);
/* oklch */ color: oklch(48.3% 0.187 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96bac',
    500: '#97238a',
    950: '#000000',
  },
}
SCSS
$custom: #97238a;
$custom-light: #b96bac;
$custom-dark: #000000;
JSON
{
  "hex": "#97238a",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 306.724,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.18709,
    "h": 333.2
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#97238A
secondary
#58BE64
accent
#E55542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97238A

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

Preview Lab → · Contrast checker → · Palette generator →

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