#973799#973799

#973799 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.0% C 0.175 H 326.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#973799
RGBrgb(151, 55, 153)
HSLhsl(299, 47%, 41%)
HSVhsv(299, 64%, 60%)
CMYKcmyk(1.3%, 64.1%, 0%, 40%)
CIE-LABlab(40.59, 52.85, -34.45)
CIE-LCHlch(40.59, 63.09, 326.90°)
OKLaboklab(51.04% 0.1464 -0.0953)
OKLCHoklch(51.04% 0.175 326.9)
XYZxyz(19.8781, 11.6129, 31.3253)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973799 #399937
analogous
#663799 #973799 #99376A
triadic
#973799 #999737 #379997
tetradic
#973799 #996637 #399937 #376A99
square
#973799 #996637 #399937 #376A99
split-complementary
#973799 #6A9937 #379966
monochromatic
#3E173F #6B276C #973799 #BD4EBF #CE7BD0

Accessibility & contrast

On white

6.32
#973799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#973799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973799
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973799#FFFFFF#000000##FFFFFF
##9737991.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#9B4463
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #973799;
/* rgb */ color: rgb(151, 55, 153);
/* oklch */ color: oklch(51.0% 0.175 326.9);
Tailwind
colors: {
  custom: {
    50: '#b875b7',
    500: '#973799',
    950: '#000000',
  },
}
SCSS
$custom: #973799;
$custom-light: #b875b7;
$custom-dark: #000000;
JSON
{
  "hex": "#973799",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 298.776,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.17464,
    "h": 326.9
  },
  "luminance": 0.11612
}

Semantic roles & 50–950 ramp

primary
#973799
secondary
#75B973
accent
#D75154
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #973799

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

Preview Lab → · Contrast checker → · Palette generator →

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