#97478A#97478A

#97478A is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.3% C 0.137 H 333.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#97478A
RGBrgb(151, 71, 138)
HSLhsl(310, 36%, 44%)
HSVhsv(310, 53%, 59%)
CMYKcmyk(0%, 53%, 8.6%, 40.8%)
CIE-LABlab(42.65, 42.63, -22.17)
CIE-LCHlch(42.65, 48.05, 332.53°)
OKLaboklab(52.31% 0.1228 -0.0602)
OKLCHoklch(52.31% 0.137 333.9)
XYZxyz(19.6032, 12.9221, 25.5015)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97478A #479754
analogous
#7C4797 #97478A #974762
triadic
#97478A #8A9747 #478A97
tetradic
#97478A #977C47 #479754 #476297
square
#97478A #977C47 #479754 #476297
split-complementary
#97478A #629747 #47977C
monochromatic
#44203E #6D3364 #97478A #B665A9 #CA8EC0

Accessibility & contrast

On white

5.86
#97478A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#97478A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97478A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97478A#FFFFFF#000000##FFFFFF
##97478A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#9D4C62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #97478a;
/* rgb */ color: rgb(151, 71, 138);
/* oklch */ color: oklch(52.3% 0.137 333.9);
Tailwind
colors: {
  custom: {
    50: '#b87eac',
    500: '#97478a',
    950: '#000000',
  },
}
SCSS
$custom: #97478a;
$custom-light: #b87eac;
$custom-dark: #000000;
JSON
{
  "hex": "#97478a",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 138
  },
  "hsl": {
    "h": 309.75,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.13673,
    "h": 333.9
  },
  "luminance": 0.12921
}

Semantic roles & 50–950 ramp

primary
#97478A
secondary
#84B68C
accent
#CC6E5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #97478A

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

Preview Lab → · Contrast checker → · Palette generator →

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