#97478D#97478D

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

Color values

HEX#97478D
RGBrgb(151, 71, 141)
HSLhsl(308, 36%, 44%)
HSVhsv(308, 53%, 59%)
CMYKcmyk(0%, 53%, 6.6%, 40.8%)
CIE-LABlab(42.78, 43.16, -23.78)
CIE-LCHlch(42.78, 49.28, 331.15°)
OKLaboklab(52.45% 0.1234 -0.0648)
OKLCHoklch(52.45% 0.139 332.3)
XYZxyz(19.8234, 13.0102, 26.6612)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97478D #479751
analogous
#794797 #97478D #974765
triadic
#97478D #8D9747 #478D97
tetradic
#97478D #977947 #479751 #476597
square
#97478D #977947 #479751 #476597
split-complementary
#97478D #659747 #479779
monochromatic
#44203F #6D3366 #97478D #B665AC #CA8EC3

Accessibility & contrast

On white

5.83
#97478D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97478D
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97478D#FFFFFF#000000##FFFFFF
##97478D1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#9D4D63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #97478d;
/* rgb */ color: rgb(151, 71, 141);
/* oklch */ color: oklch(52.4% 0.139 332.3);
Tailwind
colors: {
  custom: {
    50: '#b87eae',
    500: '#97478d',
    950: '#000000',
  },
}
SCSS
$custom: #97478d;
$custom-light: #b87eae;
$custom-dark: #000000;
JSON
{
  "hex": "#97478d",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 307.5,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.13933,
    "h": 332.3
  },
  "luminance": 0.13009
}

Semantic roles & 50–950 ramp

primary
#97478D
secondary
#84B68A
accent
#CC6A5C
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #97478D

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

Preview Lab → · Contrast checker → · Palette generator →

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