#973789#973789

#973789 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.2% C 0.161 H 333.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#973789
RGBrgb(151, 55, 137)
HSLhsl(309, 47%, 40%)
HSVhsv(309, 64%, 59%)
CMYKcmyk(0%, 63.6%, 9.3%, 40.8%)
CIE-LABlab(39.78, 50.08, -26.01)
CIE-LCHlch(39.78, 56.43, 332.56°)
OKLaboklab(50.19% 0.1448 -0.071)
OKLCHoklch(50.19% 0.161 333.9)
XYZxyz(18.6441, 11.1193, 24.8263)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973789 #379745
analogous
#753797 #973789 #973759
triadic
#973789 #899737 #378997
tetradic
#973789 #977537 #379745 #375997
square
#973789 #977537 #379745 #375997
split-complementary
#973789 #599737 #379775
monochromatic
#3D1638 #6A2760 #973789 #BE4DAE #CF7AC2

Accessibility & contrast

On white

6.51
#973789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#973789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973789
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973789#FFFFFF#000000##FFFFFF
##9737891.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558B
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#9E3E5B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #973789;
/* rgb */ color: rgb(151, 55, 137);
/* oklch */ color: oklch(50.2% 0.161 333.9);
Tailwind
colors: {
  custom: {
    50: '#b874ab',
    500: '#973789',
    950: '#000000',
  },
}
SCSS
$custom: #973789;
$custom-light: #b874ab;
$custom-dark: #000000;
JSON
{
  "hex": "#973789",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 308.75,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50186,
    "c": 0.16125,
    "h": 333.9
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#973789
secondary
#72B87C
accent
#D66552
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #973789

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

Preview Lab → · Contrast checker → · Palette generator →

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