#97579B#97579B

#97579B is a mid, vivid purple. Relative luminance 0.158; OKLCH L 55.5% C 0.125 H 325.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#97579B
RGBrgb(151, 87, 155)
HSLhsl(296, 28%, 47%)
HSVhsv(296, 44%, 61%)
CMYKcmyk(2.6%, 43.9%, 0%, 39.2%)
CIE-LABlab(46.66, 37.30, -26.15)
CIE-LCHlch(46.66, 45.55, 324.97°)
OKLaboklab(55.54% 0.1021 -0.0716)
OKLCHoklch(55.54% 0.125 325)
XYZxyz(22.0866, 15.7632, 32.8832)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97579B #5B9B57
analogous
#75579B #97579B #9B577D
triadic
#97579B #9B9757 #579B97
tetradic
#97579B #9B7557 #5B9B57 #577D9B
square
#97579B #9B7557 #5B9B57 #577D9B
split-complementary
#97579B #7D9B57 #579B75
monochromatic
#4B2B4D #714174 #97579B #B17BB5 #C8A2CB

Accessibility & contrast

On white

5.06
#97579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#97579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97579B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97579B#FFFFFF#000000##FFFFFF
##97579B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506A9D
Deuteranopia (green-blind)
#627199
Tritanopia (blue-blind)
#9A5E72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #97579b;
/* rgb */ color: rgb(151, 87, 155);
/* oklch */ color: oklch(55.5% 0.125 325.0);
Tailwind
colors: {
  custom: {
    50: '#b788b8',
    500: '#97579b',
    950: '#000000',
  },
}
SCSS
$custom: #97579b;
$custom-light: #b788b8;
$custom-dark: #000000;
JSON
{
  "hex": "#97579b",
  "rgb": {
    "r": 151,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 296.471,
    "s": 28.099,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.12476,
    "h": 325
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#97579B
secondary
#98B896
accent
#C46369
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #97579B

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

Preview Lab → · Contrast checker → · Palette generator →

#97579B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva