#97239A#97239A

#97239A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 327.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#97239A
RGBrgb(151, 35, 154)
HSLhsl(298, 63%, 37%)
HSVhsv(298, 77%, 60%)
CMYKcmyk(1.9%, 77.3%, 0%, 39.6%)
CIE-LABlab(38.05, 60.38, -39.10)
CIE-LCHlch(38.05, 71.94, 327.08°)
OKLaboklab(49.23% 0.167 -0.1086)
OKLCHoklch(49.23% 0.199 327)
XYZxyz(19.1960, 10.1158, 31.5071)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97239A #269A23
analogous
#5B239A #97239A #9A2362
triadic
#97239A #9A9723 #239A97
tetradic
#97239A #9A5B23 #269A23 #23629A
square
#97239A #9A5B23 #269A23 #23629A
split-complementary
#97239A #629A23 #239A5B
monochromatic
#350C36 #661868 #97239A #C82ECC #D75DDA

Accessibility & contrast

On white

6.95
#97239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#97239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97239A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97239A#FFFFFF#000000##FFFFFF
##97239A1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#425F97
Tritanopia (blue-blind)
#9B385E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97239a;
/* rgb */ color: rgb(151, 35, 154);
/* oklch */ color: oklch(49.2% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#b96cb8',
    500: '#97239a',
    950: '#000000',
  },
}
SCSS
$custom: #97239a;
$custom-light: #b96cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97239a",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 298.487,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.19925,
    "h": 327
  },
  "luminance": 0.10114
}

Semantic roles & 50–950 ramp

primary
#97239A
secondary
#5CBF5A
accent
#E64246
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97239A

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

Preview Lab → · Contrast checker → · Palette generator →

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