#97478C#97478C

#97478C is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.4% C 0.138 H 332.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#97478C
RGBrgb(151, 71, 140)
HSLhsl(308, 36%, 44%)
HSVhsv(308, 53%, 59%)
CMYKcmyk(0%, 53%, 7.3%, 40.8%)
CIE-LABlab(42.73, 42.98, -23.24)
CIE-LCHlch(42.73, 48.87, 331.60°)
OKLaboklab(52.4% 0.1232 -0.0632)
OKLCHoklch(52.4% 0.138 332.8)
XYZxyz(19.7493, 12.9805, 26.2711)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97478C #479752
analogous
#7A4797 #97478C #974764
triadic
#97478C #8C9747 #478C97
tetradic
#97478C #977A47 #479752 #476497
square
#97478C #977A47 #479752 #476497
split-complementary
#97478C #649747 #47977A
monochromatic
#44203F #6D3365 #97478C #B665AB #CA8EC2

Accessibility & contrast

On white

5.84
#97478C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#97478C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97478C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97478C#FFFFFF#000000##FFFFFF
##97478C1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8E
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#9D4C63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #97478c;
/* rgb */ color: rgb(151, 71, 140);
/* oklch */ color: oklch(52.4% 0.138 332.8);
Tailwind
colors: {
  custom: {
    50: '#b87eae',
    500: '#97478c',
    950: '#000000',
  },
}
SCSS
$custom: #97478c;
$custom-light: #b87eae;
$custom-dark: #000000;
JSON
{
  "hex": "#97478c",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 308.25,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.13847,
    "h": 332.8
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#97478C
secondary
#84B68B
accent
#CC6B5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #97478C

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

Preview Lab → · Contrast checker → · Palette generator →

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