#97479F#97479F

#97479F is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.4% C 0.156 H 323.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#97479F
RGBrgb(151, 71, 159)
HSLhsl(295, 38%, 45%)
HSVhsv(295, 55%, 62%)
CMYKcmyk(5%, 55.3%, 0%, 37.6%)
CIE-LABlab(43.64, 46.51, -33.25)
CIE-LCHlch(43.64, 57.18, 324.44°)
OKLaboklab(53.36% 0.1261 -0.0919)
OKLCHoklch(53.36% 0.156 323.9)
XYZxyz(21.2732, 13.5901, 34.2968)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97479F #4F9F47
analogous
#6B479F #97479F #9F477B
triadic
#97479F #9F9747 #479F97
tetradic
#97479F #9F6B47 #4F9F47 #477B9F
square
#97479F #9F6B47 #4F9F47 #477B9F
split-complementary
#97479F #7B9F47 #479F6B
monochromatic
#47214A #6F3475 #97479F #B468BB #C992CE

Accessibility & contrast

On white

5.65
#97479F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#97479F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97479F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97479F#FFFFFF#000000##FFFFFF
##97479F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A2
Deuteranopia (green-blind)
#546A9D
Tritanopia (blue-blind)
#9A536C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #97479f;
/* rgb */ color: rgb(151, 71, 159);
/* oklch */ color: oklch(53.4% 0.156 323.9);
Tailwind
colors: {
  custom: {
    50: '#b87ebc',
    500: '#97479f',
    950: '#000000',
  },
}
SCSS
$custom: #97479f;
$custom-light: #b87ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#97479f",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 294.545,
    "s": 38.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.15606,
    "h": 323.9
  },
  "luminance": 0.13589
}

Semantic roles & 50–950 ramp

primary
#97479F
secondary
#8CBA88
accent
#CE5A64
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #97479F

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

Preview Lab → · Contrast checker → · Palette generator →

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