#97508D#97508D

#97508D is a mid, vivid purple. Relative luminance 0.142; OKLCH L 53.8% C 0.124 H 332.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#97508D
RGBrgb(151, 80, 141)
HSLhsl(308, 31%, 45%)
HSVhsv(308, 47%, 59%)
CMYKcmyk(0%, 47%, 6.6%, 40.8%)
CIE-LABlab(44.58, 38.45, -21.00)
CIE-LCHlch(44.58, 43.81, 331.36°)
OKLaboklab(53.79% 0.1098 -0.057)
OKLCHoklch(53.79% 0.124 332.6)
XYZxyz(20.4388, 14.2409, 26.8664)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97508D #50975A
analogous
#7E5097 #97508D #975069
triadic
#97508D #8D9750 #508D97
tetradic
#97508D #977E50 #50975A #506997
square
#97508D #977E50 #50975A #506997
split-complementary
#97508D #699750 #50977E
monochromatic
#472642 #6F3B68 #97508D #B471AA #C999C2

Accessibility & contrast

On white

5.46
#97508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#97508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97508D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97508D#FFFFFF#000000##FFFFFF
##97508D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#9C5468
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #97508d;
/* rgb */ color: rgb(151, 80, 141);
/* oklch */ color: oklch(53.8% 0.124 332.6);
Tailwind
colors: {
  custom: {
    50: '#b783ae',
    500: '#97508d',
    950: '#000000',
  },
}
SCSS
$custom: #97508d;
$custom-light: #b783ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97508d",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 308.451,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.1237,
    "h": 332.6
  },
  "luminance": 0.1424
}

Semantic roles & 50–950 ramp

primary
#97508D
secondary
#8DB693
accent
#C76F61
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #97508D

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

Preview Lab → · Contrast checker → · Palette generator →

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