#97239B#97239B

#97239B is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.200 H 326.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#97239B
RGBrgb(151, 35, 155)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 61%)
CMYKcmyk(2.6%, 77.4%, 0%, 39.2%)
CIE-LABlab(38.11, 60.55, -39.61)
CIE-LCHlch(38.11, 72.36, 326.81°)
OKLaboklab(49.29% 0.167 -0.1101)
OKLCHoklch(49.29% 0.2 326.6)
XYZxyz(19.2796, 10.1493, 31.9475)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97239B #279B23
analogous
#5B239B #97239B #9B2363
triadic
#97239B #9B9723 #239B97
tetradic
#97239B #9B5B23 #279B23 #23639B
square
#97239B #9B5B23 #279B23 #23639B
split-complementary
#97239B #639B23 #239B5B
monochromatic
#360C37 #661869 #97239B #C82ECD #D65EDB

Accessibility & contrast

On white

6.93
#97239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#97239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97239B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97239B#FFFFFF#000000##FFFFFF
##97239B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#415F98
Tritanopia (blue-blind)
#9B385E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97239b;
/* rgb */ color: rgb(151, 35, 155);
/* oklch */ color: oklch(49.3% 0.200 326.6);
Tailwind
colors: {
  custom: {
    50: '#b96cb9',
    500: '#97239b',
    950: '#000000',
  },
}
SCSS
$custom: #97239b;
$custom-light: #b96cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#97239b",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 298,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49294,
    "c": 0.20003,
    "h": 326.6
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#97239B
secondary
#5EBF5A
accent
#E64247
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97239B

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

Preview Lab → · Contrast checker → · Palette generator →

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