#97239E#97239E

#97239E is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.202 H 325.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#97239E
RGBrgb(151, 35, 158)
HSLhsl(297, 64%, 38%)
HSVhsv(297, 78%, 62%)
CMYKcmyk(4.4%, 77.8%, 0%, 38%)
CIE-LABlab(38.29, 61.06, -41.13)
CIE-LCHlch(38.29, 73.63, 326.04°)
OKLaboklab(49.48% 0.1668 -0.1145)
OKLCHoklch(49.48% 0.202 325.5)
XYZxyz(19.5347, 10.2513, 33.2909)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97239E #2A9E23
analogous
#59239E #97239E #9E2368
triadic
#97239E #9E9723 #239E97
tetradic
#97239E #9E5923 #2A9E23 #23689E
square
#97239E #9E5923 #2A9E23 #23689E
split-complementary
#97239E #689E23 #239E59
monochromatic
#370D3A #67186C #97239E #C72ED0 #D560DC

Accessibility & contrast

On white

6.89
#97239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#97239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97239E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97239E#FFFFFF#000000##FFFFFF
##97239E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#9B3A60
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97239e;
/* rgb */ color: rgb(151, 35, 158);
/* oklch */ color: oklch(49.5% 0.202 325.5);
Tailwind
colors: {
  custom: {
    50: '#b96cbb',
    500: '#97239e',
    950: '#000000',
  },
}
SCSS
$custom: #97239e;
$custom-light: #b96cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#97239e",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 296.585,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49481,
    "c": 0.20238,
    "h": 325.5
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#97239E
secondary
#62C15C
accent
#E7414A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97239E

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

Preview Lab → · Contrast checker → · Palette generator →

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