#97339B#97339B

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

Color values

HEX#97339B
RGBrgb(151, 51, 155)
HSLhsl(298, 50%, 40%)
HSVhsv(298, 67%, 61%)
CMYKcmyk(2.6%, 67.1%, 0%, 39.2%)
CIE-LABlab(40.11, 54.88, -36.43)
CIE-LCHlch(40.11, 65.87, 326.42°)
OKLaboklab(50.72% 0.1511 -0.101)
OKLCHoklch(50.72% 0.182 326.2)
XYZxyz(19.8623, 11.3148, 32.1418)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97339B #379B33
analogous
#63339B #97339B #9B336B
triadic
#97339B #9B9733 #339B97
tetradic
#97339B #9B6333 #379B33 #336B9B
square
#97339B #9B6333 #379B33 #336B9B
split-complementary
#97339B #6B9B33 #339B63
monochromatic
#3D153F #6A246D #97339B #BE48C3 #CF76D2

Accessibility & contrast

On white

6.44
#97339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97339B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97339B#FFFFFF#000000##FFFFFF
##97339B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#496398
Tritanopia (blue-blind)
#9B4263
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97339b;
/* rgb */ color: rgb(151, 51, 155);
/* oklch */ color: oklch(50.7% 0.182 326.2);
Tailwind
colors: {
  custom: {
    50: '#b973b9',
    500: '#97339b',
    950: '#000000',
  },
}
SCSS
$custom: #97339b;
$custom-light: #b973b9;
$custom-dark: #000000;
JSON
{
  "hex": "#97339b",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 297.692,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.18176,
    "h": 326.2
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#97339B
secondary
#72BA6F
accent
#DA4E53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #97339B

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

Preview Lab → · Contrast checker → · Palette generator →

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