#97408D#97408D

#97408D is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.5% C 0.151 H 332.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#97408D
RGBrgb(151, 64, 141)
HSLhsl(307, 40%, 42%)
HSVhsv(307, 58%, 59%)
CMYKcmyk(0%, 57.6%, 6.6%, 40.8%)
CIE-LABlab(41.49, 46.63, -25.79)
CIE-LCHlch(41.49, 53.28, 331.05°)
OKLaboklab(51.5% 0.1334 -0.0704)
OKLCHoklch(51.5% 0.151 332.2)
XYZxyz(19.4036, 12.1705, 26.5213)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97408D #40974A
analogous
#764097 #97408D #974061
triadic
#97408D #8D9740 #408D97
tetradic
#97408D #977640 #40974A #406197
square
#97408D #977640 #40974A #406197
split-complementary
#97408D #619740 #409776
monochromatic
#411C3D #6C2E65 #97408D #B95BAF #CC86C4

Accessibility & contrast

On white

6.12
#97408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#97408D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97408D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97408D#FFFFFF#000000##FFFFFF
##97408D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5A8F
Deuteranopia (green-blind)
#58668B
Tritanopia (blue-blind)
#9D4760
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #97408d;
/* rgb */ color: rgb(151, 64, 141);
/* oklch */ color: oklch(51.5% 0.151 332.2);
Tailwind
colors: {
  custom: {
    50: '#b87aae',
    500: '#97408d',
    950: '#000000',
  },
}
SCSS
$custom: #97408d;
$custom-light: #b87aae;
$custom-dark: #000000;
JSON
{
  "hex": "#97408d",
  "rgb": {
    "r": 151,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 306.897,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.15082,
    "h": 332.2
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#97408D
secondary
#7DB683
accent
#D06557
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #97408D

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

Preview Lab → · Contrast checker → · Palette generator →

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