#97339D#97339D

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

Color values

HEX#97339D
RGBrgb(151, 51, 157)
HSLhsl(297, 51%, 41%)
HSVhsv(297, 68%, 62%)
CMYKcmyk(3.8%, 67.5%, 0%, 38.4%)
CIE-LABlab(40.22, 55.24, -37.46)
CIE-LCHlch(40.22, 66.74, 325.85°)
OKLaboklab(50.84% 0.1512 -0.104)
OKLCHoklch(50.84% 0.183 325.5)
XYZxyz(20.0317, 11.3825, 33.0337)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97339D #399D33
analogous
#62339D #97339D #9D336E
triadic
#97339D #9D9733 #339D97
tetradic
#97339D #9D6233 #399D33 #336E9D
square
#97339D #9D6233 #399D33 #336E9D
split-complementary
#97339D #6E9D33 #339D62
monochromatic
#3E1541 #6B246F #97339D #BD49C4 #CE77D3

Accessibility & contrast

On white

6.41
#97339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#97339D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97339D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97339D#FFFFFF#000000##FFFFFF
##97339D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A0
Deuteranopia (green-blind)
#48639A
Tritanopia (blue-blind)
#9B4364
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #97339d;
/* rgb */ color: rgb(151, 51, 157);
/* oklch */ color: oklch(50.8% 0.183 325.5);
Tailwind
colors: {
  custom: {
    50: '#b973ba',
    500: '#97339d',
    950: '#000000',
  },
}
SCSS
$custom: #97339d;
$custom-light: #b973ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97339d",
  "rgb": {
    "r": 151,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 296.604,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.18348,
    "h": 325.5
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#97339D
secondary
#75BB70
accent
#DA4D55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #97339D

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

Preview Lab → · Contrast checker → · Palette generator →

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