#97518D#97518D

#97518D is a mid, vivid purple. Relative luminance 0.144; OKLCH L 53.9% C 0.122 H 332.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#97518D
RGBrgb(151, 81, 141)
HSLhsl(309, 30%, 45%)
HSVhsv(309, 46%, 59%)
CMYKcmyk(0%, 46.4%, 6.6%, 40.8%)
CIE-LABlab(44.78, 37.91, -20.68)
CIE-LCHlch(44.78, 43.18, 331.39°)
OKLaboklab(53.94% 0.1083 -0.0561)
OKLCHoklch(53.94% 0.122 332.6)
XYZxyz(20.5125, 14.3885, 26.8910)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97518D #51975B
analogous
#7E5197 #97518D #97516A
triadic
#97518D #8D9751 #518D97
tetradic
#97518D #977E51 #51975B #516A97
square
#97518D #977E51 #51975B #516A97
split-complementary
#97518D #6A9751 #51977E
monochromatic
#472643 #6F3C68 #97518D #B372AA #C99AC2

Accessibility & contrast

On white

5.42
#97518D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#97518D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97518D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97518D#FFFFFF#000000##FFFFFF
##97518D1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F648F
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#9C5568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #97518d;
/* rgb */ color: rgb(151, 81, 141);
/* oklch */ color: oklch(53.9% 0.122 332.6);
Tailwind
colors: {
  custom: {
    50: '#b784ae',
    500: '#97518d',
    950: '#000000',
  },
}
SCSS
$custom: #97518d;
$custom-light: #b784ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97518d",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 141
  },
  "hsl": {
    "h": 308.571,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53941,
    "c": 0.12193,
    "h": 332.6
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#97518D
secondary
#8EB694
accent
#C67061
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #97518D

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

Preview Lab → · Contrast checker → · Palette generator →

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