#973791#973791

#973791 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.6% C 0.168 H 330.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#973791
RGBrgb(151, 55, 145)
HSLhsl(304, 47%, 40%)
HSVhsv(304, 64%, 59%)
CMYKcmyk(0%, 63.6%, 4%, 40.8%)
CIE-LABlab(40.18, 51.44, -30.27)
CIE-LCHlch(40.18, 59.68, 329.52°)
OKLaboklab(50.6% 0.1457 -0.0832)
OKLCHoklch(50.6% 0.168 330.3)
XYZxyz(19.2394, 11.3574, 27.9614)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973791 #37973D
analogous
#6D3797 #973791 #973761
triadic
#973791 #919737 #379197
tetradic
#973791 #976D37 #37973D #376197
square
#973791 #976D37 #37973D #376197
split-complementary
#973791 #619737 #37976D
monochromatic
#3D163B #6A2766 #973791 #BE4DB7 #CF7AC9

Accessibility & contrast

On white

6.42
#973791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#973791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973791
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973791#FFFFFF#000000##FFFFFF
##9737911.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305694
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#9D415F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #973791;
/* rgb */ color: rgb(151, 55, 145);
/* oklch */ color: oklch(50.6% 0.168 330.3);
Tailwind
colors: {
  custom: {
    50: '#b875b1',
    500: '#973791',
    950: '#000000',
  },
}
SCSS
$custom: #973791;
$custom-light: #b875b1;
$custom-dark: #000000;
JSON
{
  "hex": "#973791",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 303.75,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50603,
    "c": 0.16781,
    "h": 330.3
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#973791
secondary
#72B877
accent
#D65A52
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#120911
muted
#817B80

Preview Lab

Preview with #973791

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

Preview Lab → · Contrast checker → · Palette generator →

#973791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva