#97399D#97399D

#97399D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.175 H 325.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#97399D
RGBrgb(151, 57, 157)
HSLhsl(296, 47%, 42%)
HSVhsv(296, 64%, 62%)
CMYKcmyk(3.8%, 63.7%, 0%, 38.4%)
CIE-LABlab(41.12, 52.71, -36.03)
CIE-LCHlch(41.12, 63.85, 325.65°)
OKLaboklab(51.5% 0.1442 -0.0999)
OKLCHoklch(51.5% 0.175 325.3)
XYZxyz(20.3110, 11.9411, 33.1268)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97399D #3F9D39
analogous
#65399D #97399D #9D3971
triadic
#97399D #9D9739 #399D97
tetradic
#97399D #9D6539 #3F9D39 #39719D
square
#97399D #9D6539 #3F9D39 #39719D
split-complementary
#97399D #719D39 #399D65
monochromatic
#411843 #6C2970 #97399D #BA53C0 #CC80D1

Accessibility & contrast

On white

6.20
#97399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#97399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97399D
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97399D#FFFFFF#000000##FFFFFF
##97399D1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#9A4766
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #97399d;
/* rgb */ color: rgb(151, 57, 157);
/* oklch */ color: oklch(51.5% 0.175 325.3);
Tailwind
colors: {
  custom: {
    50: '#b876ba',
    500: '#97399d',
    950: '#000000',
  },
}
SCSS
$custom: #97399d;
$custom-light: #b876ba;
$custom-dark: #000000;
JSON
{
  "hex": "#97399d",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 296.4,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.17536,
    "h": 325.3
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#97399D
secondary
#7CBA78
accent
#D65159
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120912
muted
#817B81

Preview Lab

Preview with #97399D

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

Preview Lab → · Contrast checker → · Palette generator →

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