#97339A#97339A

#97339A is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.181 H 326.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#97339A
RGBrgb(151, 51, 154)
HSLhsl(298, 50%, 40%)
HSVhsv(298, 67%, 60%)
CMYKcmyk(1.9%, 66.9%, 0%, 39.6%)
CIE-LABlab(40.05, 54.70, -35.92)
CIE-LCHlch(40.05, 65.44, 326.71°)
OKLaboklab(50.67% 0.1511 -0.0995)
OKLCHoklch(50.67% 0.181 326.6)
XYZxyz(19.7787, 11.2813, 31.7013)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97339A #369A33
analogous
#63339A #97339A #9A336A
triadic
#97339A #9A9733 #339A97
tetradic
#97339A #9A6333 #369A33 #336A9A
square
#97339A #9A6333 #369A33 #336A9A
split-complementary
#97339A #6A9A33 #339A63
monochromatic
#3D153E #6A246C #97339A #BF48C2 #CF76D2

Accessibility & contrast

On white

6.45
#97339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#97339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97339A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97339A#FFFFFF#000000##FFFFFF
##97339A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#9B4262
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97339a;
/* rgb */ color: rgb(151, 51, 154);
/* oklch */ color: oklch(50.7% 0.181 326.6);
Tailwind
colors: {
  custom: {
    50: '#b973b8',
    500: '#97339a',
    950: '#000000',
  },
}
SCSS
$custom: #97339a;
$custom-light: #b973b8;
$custom-dark: #000000;
JSON
{
  "hex": "#97339a",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 298.252,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.1809,
    "h": 326.6
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#97339A
secondary
#71BA6F
accent
#DA4E52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #97339A

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

Preview Lab → · Contrast checker → · Palette generator →

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