#97508E#97508E

#97508E is a mid, vivid purple. Relative luminance 0.143; OKLCH L 53.8% C 0.125 H 332.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#97508E
RGBrgb(151, 80, 142)
HSLhsl(308, 31%, 45%)
HSVhsv(308, 47%, 59%)
CMYKcmyk(0%, 47%, 6%, 40.8%)
CIE-LABlab(44.62, 38.63, -21.54)
CIE-LCHlch(44.62, 44.23, 330.86°)
OKLaboklab(53.83% 0.11 -0.0585)
OKLCHoklch(53.83% 0.125 332)
XYZxyz(20.5135, 14.2708, 27.2600)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97508E #509759
analogous
#7D5097 #97508E #97506A
triadic
#97508E #8E9750 #508E97
tetradic
#97508E #977D50 #509759 #506A97
square
#97508E #977D50 #509759 #506A97
split-complementary
#97508E #6A9750 #50977D
monochromatic
#472643 #6F3B68 #97508E #B471AB #C999C3

Accessibility & contrast

On white

5.45
#97508E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97508E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97508E#FFFFFF#000000##FFFFFF
##97508E1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6390
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#9C5568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #97508e;
/* rgb */ color: rgb(151, 80, 142);
/* oklch */ color: oklch(53.8% 0.125 332.0);
Tailwind
colors: {
  custom: {
    50: '#b783af',
    500: '#97508e',
    950: '#000000',
  },
}
SCSS
$custom: #97508e;
$custom-light: #b783af;
$custom-dark: #000000;
JSON
{
  "hex": "#97508e",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 307.606,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.12461,
    "h": 332
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97508E

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

Preview Lab → · Contrast checker → · Palette generator →

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