#973DA7#973DA7

#973DA7 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.5% C 0.179 H 321.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#973DA7
RGBrgb(151, 61, 167)
HSLhsl(291, 46%, 45%)
HSVhsv(291, 63%, 65%)
CMYKcmyk(9.6%, 63.5%, 0%, 34.5%)
CIE-LABlab(42.32, 52.83, -40.11)
CIE-LCHlch(42.32, 66.33, 322.79°)
OKLaboklab(52.54% 0.1396 -0.1117)
OKLCHoklch(52.54% 0.179 321.3)
XYZxyz(21.4055, 12.7079, 37.8771)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DA7 #4DA73D
analogous
#623DA7 #973DA7 #A73D82
triadic
#973DA7 #A7973D #3DA797
tetradic
#973DA7 #A7623D #4DA73D #3D82A7
square
#973DA7 #A7623D #4DA73D #3D82A7
split-complementary
#973DA7 #82A73D #3DA762
monochromatic
#461C4D #6E2D7A #973DA7 #B45DC4 #C98AD4

Accessibility & contrast

On white

5.93
#973DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#973DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DA7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DA7#FFFFFF#000000##FFFFFF
##973DA71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235DAA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#984E6C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973da7;
/* rgb */ color: rgb(151, 61, 167);
/* oklch */ color: oklch(52.5% 0.179 321.3);
Tailwind
colors: {
  custom: {
    50: '#b879c1',
    500: '#973da7',
    950: '#000000',
  },
}
SCSS
$custom: #973da7;
$custom-light: #b879c1;
$custom-dark: #000000;
JSON
{
  "hex": "#973da7",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 290.943,
    "s": 46.491,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.17884,
    "h": 321.3
  },
  "luminance": 0.12707
}

Semantic roles & 50–950 ramp

primary
#973DA7
secondary
#8ABF81
accent
#D65266
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973DA7

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

Preview Lab → · Contrast checker → · Palette generator →

#973DA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva