#97479A#97479A

#97479A is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.1% C 0.151 H 326.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#97479A
RGBrgb(151, 71, 154)
HSLhsl(298, 37%, 44%)
HSVhsv(298, 54%, 60%)
CMYKcmyk(1.9%, 53.9%, 0%, 39.6%)
CIE-LABlab(43.39, 45.55, -30.66)
CIE-LCHlch(43.39, 54.91, 326.06°)
OKLaboklab(53.1% 0.1255 -0.0844)
OKLCHoklch(53.1% 0.151 326.1)
XYZxyz(20.8480, 13.4200, 32.0578)
Luminance0.1342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97479A #4A9A47
analogous
#6E479A #97479A #9A4774
triadic
#97479A #9A9747 #479A97
tetradic
#97479A #9A6E47 #4A9A47 #47749A
square
#97479A #9A6E47 #4A9A47 #47749A
split-complementary
#97479A #749A47 #479A6E
monochromatic
#452046 #6E3470 #97479A #B566B8 #CA90CC

Accessibility & contrast

On white

5.70
#97479A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#97479A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97479A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97479A#FFFFFF#000000##FFFFFF
##97479A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609D
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#9B516A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #97479a;
/* rgb */ color: rgb(151, 71, 154);
/* oklch */ color: oklch(53.1% 0.151 326.1);
Tailwind
colors: {
  custom: {
    50: '#b87eb8',
    500: '#97479a',
    950: '#000000',
  },
}
SCSS
$custom: #97479a;
$custom-light: #b87eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#97479a",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 297.831,
    "s": 36.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.531,
    "c": 0.15125,
    "h": 326.1
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#97479A
secondary
#87B785
accent
#CD5B5F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #97479A

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

Preview Lab → · Contrast checker → · Palette generator →

#97479A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva