#97239C#97239C

#97239C is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.201 H 326.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#97239C
RGBrgb(151, 35, 156)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 78%, 61%)
CMYKcmyk(3.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(38.17, 60.72, -40.12)
CIE-LCHlch(38.17, 72.78, 326.55°)
OKLaboklab(49.36% 0.1669 -0.1116)
OKLCHoklch(49.36% 0.201 326.2)
XYZxyz(19.3639, 10.1830, 32.3917)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97239C #289C23
analogous
#5B239C #97239C #9C2364
triadic
#97239C #9C9723 #239C97
tetradic
#97239C #9C5B23 #289C23 #23649C
square
#97239C #9C5B23 #289C23 #23649C
split-complementary
#97239C #649C23 #239C5B
monochromatic
#360D38 #67186A #97239C #C72ECE #D65EDB

Accessibility & contrast

On white

6.92
#97239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#97239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97239C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97239C#FFFFFF#000000##FFFFFF
##97239C1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#415F99
Tritanopia (blue-blind)
#9B395F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97239c;
/* rgb */ color: rgb(151, 35, 156);
/* oklch */ color: oklch(49.4% 0.201 326.2);
Tailwind
colors: {
  custom: {
    50: '#b96cba',
    500: '#97239c',
    950: '#000000',
  },
}
SCSS
$custom: #97239c;
$custom-light: #b96cba;
$custom-dark: #000000;
JSON
{
  "hex": "#97239c",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 297.521,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.20081,
    "h": 326.2
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#97239C
secondary
#5FC05B
accent
#E64148
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97239C

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

Preview Lab → · Contrast checker → · Palette generator →

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