#97478B#97478B

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

Color values

HEX#97478B
RGBrgb(151, 71, 139)
HSLhsl(309, 36%, 44%)
HSVhsv(309, 53%, 59%)
CMYKcmyk(0%, 53%, 7.9%, 40.8%)
CIE-LABlab(42.69, 42.81, -22.71)
CIE-LCHlch(42.69, 48.46, 332.06°)
OKLaboklab(52.35% 0.123 -0.0617)
OKLCHoklch(52.35% 0.138 333.4)
XYZxyz(19.6759, 12.9512, 25.8846)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97478B #479753
analogous
#7B4797 #97478B #974763
triadic
#97478B #8B9747 #478B97
tetradic
#97478B #977B47 #479753 #476397
square
#97478B #977B47 #479753 #476397
split-complementary
#97478B #639747 #47977B
monochromatic
#44203E #6D3365 #97478B #B665AA #CA8EC1

Accessibility & contrast

On white

5.85
#97478B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#97478B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97478B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97478B#FFFFFF#000000##FFFFFF
##97478B1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8D
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#9D4C63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #97478b;
/* rgb */ color: rgb(151, 71, 139);
/* oklch */ color: oklch(52.4% 0.138 333.4);
Tailwind
colors: {
  custom: {
    50: '#b87ead',
    500: '#97478b',
    950: '#000000',
  },
}
SCSS
$custom: #97478b;
$custom-light: #b87ead;
$custom-dark: #000000;
JSON
{
  "hex": "#97478b",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 309,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.13759,
    "h": 333.4
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97478B

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

Preview Lab → · Contrast checker → · Palette generator →

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