#97339C#97339C

#97339C is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.183 H 325.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#97339C
RGBrgb(151, 51, 156)
HSLhsl(297, 51%, 41%)
HSVhsv(297, 67%, 61%)
CMYKcmyk(3.2%, 67.3%, 0%, 38.8%)
CIE-LABlab(40.16, 55.06, -36.95)
CIE-LCHlch(40.16, 66.31, 326.13°)
OKLaboklab(50.78% 0.1512 -0.1025)
OKLCHoklch(50.78% 0.183 325.9)
XYZxyz(19.9467, 11.3485, 32.5859)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97339C #389C33
analogous
#62339C #97339C #9C336C
triadic
#97339C #9C9733 #339C97
tetradic
#97339C #9C6233 #389C33 #336C9C
square
#97339C #9C6233 #389C33 #336C9C
split-complementary
#97339C #6C9C33 #339C62
monochromatic
#3E1540 #6A246E #97339C #BE49C3 #CE77D3

Accessibility & contrast

On white

6.42
#97339C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#97339C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97339C
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97339C#FFFFFF#000000##FFFFFF
##97339C1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#496399
Tritanopia (blue-blind)
#9B4363
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97339c;
/* rgb */ color: rgb(151, 51, 156);
/* oklch */ color: oklch(50.8% 0.183 325.9);
Tailwind
colors: {
  custom: {
    50: '#b973ba',
    500: '#97339c',
    950: '#000000',
  },
}
SCSS
$custom: #97339c;
$custom-light: #b973ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97339c",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 297.143,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.18262,
    "h": 325.9
  },
  "luminance": 0.11347
}

Semantic roles & 50–950 ramp

primary
#97339C
secondary
#73BB70
accent
#DA4E54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #97339C

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

Preview Lab → · Contrast checker → · Palette generator →

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