#97548D#97548D

#97548D is a mid, moderate purple. Relative luminance 0.148; OKLCH L 54.4% C 0.117 H 332.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#97548D
RGBrgb(151, 84, 141)
HSLhsl(309, 29%, 46%)
HSVhsv(309, 44%, 59%)
CMYKcmyk(0%, 44.4%, 6.6%, 40.8%)
CIE-LABlab(45.42, 36.28, -19.70)
CIE-LCHlch(45.42, 41.28, 331.49°)
OKLaboklab(54.42% 0.1036 -0.0533)
OKLCHoklch(54.42% 0.117 332.8)
XYZxyz(20.7404, 14.8442, 26.9669)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97548D #54975E
analogous
#7F5497 #97548D #97546B
triadic
#97548D #8D9754 #548D97
tetradic
#97548D #977F54 #54975E #546B97
square
#97548D #977F54 #54975E #546B97
split-complementary
#97548D #6B9754 #54977F
monochromatic
#482844 #703E68 #97548D #B376A9 #C89DC2

Accessibility & contrast

On white

5.29
#97548D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#97548D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97548D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97548D#FFFFFF#000000##FFFFFF
##97548D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#9C586A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #97548d;
/* rgb */ color: rgb(151, 84, 141);
/* oklch */ color: oklch(54.4% 0.117 332.8);
Tailwind
colors: {
  custom: {
    50: '#b786ae',
    500: '#97548d',
    950: '#000000',
  },
}
SCSS
$custom: #97548d;
$custom-light: #b786ae;
$custom-dark: #000000;
JSON
{
  "hex": "#97548d",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 141
  },
  "hsl": {
    "h": 308.955,
    "s": 28.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.11652,
    "h": 332.8
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#97548D
secondary
#91B697
accent
#C57263
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #97548D

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

Preview Lab → · Contrast checker → · Palette generator →

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