#973796#973796

#973796 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.9% C 0.172 H 328.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#973796
RGBrgb(151, 55, 150)
HSLhsl(301, 47%, 40%)
HSVhsv(301, 64%, 59%)
CMYKcmyk(0%, 63.6%, 0.7%, 40.8%)
CIE-LABlab(40.43, 52.31, -32.89)
CIE-LCHlch(40.43, 61.80, 327.84°)
OKLaboklab(50.88% 0.1462 -0.0908)
OKLCHoklch(50.88% 0.172 328.2)
XYZxyz(19.6335, 11.5150, 30.0368)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973796 #379738
analogous
#683797 #973796 #973766
triadic
#973796 #969737 #379697
tetradic
#973796 #976837 #379738 #376697
square
#973796 #976837 #379738 #376697
split-complementary
#973796 #669737 #379768
monochromatic
#3D163D #6A2769 #973796 #BE4DBD #CF7ACE

Accessibility & contrast

On white

6.36
#973796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#973796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973796
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973796#FFFFFF#000000##FFFFFF
##9737961.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#4E6493
Tritanopia (blue-blind)
#9C4361
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #973796;
/* rgb */ color: rgb(151, 55, 150);
/* oklch */ color: oklch(50.9% 0.172 328.2);
Tailwind
colors: {
  custom: {
    50: '#b875b5',
    500: '#973796',
    950: '#000000',
  },
}
SCSS
$custom: #973796;
$custom-light: #b875b5;
$custom-dark: #000000;
JSON
{
  "hex": "#973796",
  "rgb": {
    "r": 151,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 300.625,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50875,
    "c": 0.17206,
    "h": 328.2
  },
  "luminance": 0.11514
}

Semantic roles & 50–950 ramp

primary
#973796
secondary
#72B873
accent
#D65352
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #973796

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

Preview Lab → · Contrast checker → · Palette generator →

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