#97508C#97508C

#97508C is a mid, vivid purple. Relative luminance 0.142; OKLCH L 53.7% C 0.123 H 333.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#97508C
RGBrgb(151, 80, 140)
HSLhsl(309, 31%, 45%)
HSVhsv(309, 47%, 59%)
CMYKcmyk(0%, 47%, 7.3%, 40.8%)
CIE-LABlab(44.53, 38.27, -20.46)
CIE-LCHlch(44.53, 43.40, 331.86°)
OKLaboklab(53.74% 0.1096 -0.0554)
OKLCHoklch(53.74% 0.123 333.2)
XYZxyz(20.3647, 14.2113, 26.4763)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97508C #50975B
analogous
#7E5097 #97508C #975068
triadic
#97508C #8C9750 #508C97
tetradic
#97508C #977E50 #50975B #506897
square
#97508C #977E50 #50975B #506897
split-complementary
#97508C #689750 #50977E
monochromatic
#472642 #6F3B67 #97508C #B471A9 #C999C1

Accessibility & contrast

On white

5.47
#97508C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#97508C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97508C
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97508C#FFFFFF#000000##FFFFFF
##97508C1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F638E
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#9D5467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #97508c;
/* rgb */ color: rgb(151, 80, 140);
/* oklch */ color: oklch(53.7% 0.123 333.2);
Tailwind
colors: {
  custom: {
    50: '#b783ad',
    500: '#97508c',
    950: '#000000',
  },
}
SCSS
$custom: #97508c;
$custom-light: #b783ad;
$custom-dark: #000000;
JSON
{
  "hex": "#97508c",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 309.296,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.12281,
    "h": 333.2
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#97508C
secondary
#8DB694
accent
#C77161
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #97508C

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

Preview Lab → · Contrast checker → · Palette generator →

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