#97309D#97309D

#97309D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.187 H 325.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#97309D
RGBrgb(151, 48, 157)
HSLhsl(297, 53%, 40%)
HSVhsv(297, 69%, 62%)
CMYKcmyk(3.8%, 69.4%, 0%, 38.4%)
CIE-LABlab(39.80, 56.42, -38.13)
CIE-LCHlch(39.80, 68.10, 325.95°)
OKLaboklab(50.54% 0.1545 -0.1059)
OKLCHoklch(50.54% 0.187 325.6)
XYZxyz(19.9048, 11.1288, 32.9914)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97309D #369D30
analogous
#60309D #97309D #9D306D
triadic
#97309D #9D9730 #309D97
tetradic
#97309D #9D6030 #369D30 #306D9D
square
#97309D #9D6030 #369D30 #306D9D
split-complementary
#97309D #6D9D30 #309D60
monochromatic
#3D133F #6A226E #97309D #BF44C6 #CF73D4

Accessibility & contrast

On white

6.51
#97309D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#97309D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97309D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97309D#FFFFFF#000000##FFFFFF
##97309D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#9B4163
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #97309d;
/* rgb */ color: rgb(151, 48, 157);
/* oklch */ color: oklch(50.5% 0.187 325.6);
Tailwind
colors: {
  custom: {
    50: '#b972ba',
    500: '#97309d',
    950: '#000000',
  },
}
SCSS
$custom: #97309d;
$custom-light: #b972ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97309d",
  "rgb": {
    "r": 151,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 296.697,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.18728,
    "h": 325.6
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#97309D
secondary
#71BC6D
accent
#DD4B53
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #97309D

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

Preview Lab → · Contrast checker → · Palette generator →

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