#97508F#97508F

#97508F is a mid, vivid purple. Relative luminance 0.143; OKLCH L 53.9% C 0.126 H 331.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#97508F
RGBrgb(151, 80, 143)
HSLhsl(307, 31%, 45%)
HSVhsv(307, 47%, 59%)
CMYKcmyk(0%, 47%, 5.3%, 40.8%)
CIE-LABlab(44.66, 38.81, -22.07)
CIE-LCHlch(44.66, 44.65, 330.37°)
OKLaboklab(53.88% 0.1103 -0.06)
OKLCHoklch(53.88% 0.126 331.4)
XYZxyz(20.5889, 14.3010, 27.6572)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97508F #509758
analogous
#7C5097 #97508F #97506B
triadic
#97508F #8F9750 #508F97
tetradic
#97508F #977C50 #509758 #506B97
square
#97508F #977C50 #509758 #506B97
split-complementary
#97508F #6B9750 #50977C
monochromatic
#472643 #6F3B69 #97508F #B471AC #C999C3

Accessibility & contrast

On white

5.44
#97508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#97508F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97508F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97508F#FFFFFF#000000##FFFFFF
##97508F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6391
Deuteranopia (green-blind)
#616D8D
Tritanopia (blue-blind)
#9C5569
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #97508f;
/* rgb */ color: rgb(151, 80, 143);
/* oklch */ color: oklch(53.9% 0.126 331.4);
Tailwind
colors: {
  custom: {
    50: '#b783b0',
    500: '#97508f',
    950: '#000000',
  },
}
SCSS
$custom: #97508f;
$custom-light: #b783b0;
$custom-dark: #000000;
JSON
{
  "hex": "#97508f",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 306.761,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.12554,
    "h": 331.4
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#97508F
secondary
#8DB692
accent
#C76C61
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #97508F

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

Preview Lab → · Contrast checker → · Palette generator →

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