#973FA5#973FA5

#973FA5 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.7% C 0.174 H 322.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#973FA5
RGBrgb(151, 63, 165)
HSLhsl(292, 45%, 45%)
HSVhsv(292, 62%, 65%)
CMYKcmyk(8.5%, 61.8%, 0%, 35.3%)
CIE-LABlab(42.54, 51.53, -38.57)
CIE-LCHlch(42.54, 64.36, 323.18°)
OKLaboklab(52.66% 0.1371 -0.1073)
OKLCHoklch(52.66% 0.174 322)
XYZxyz(21.3308, 12.8520, 36.9471)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FA5 #4DA53F
analogous
#643FA5 #973FA5 #A53F80
triadic
#973FA5 #A5973F #3FA597
tetradic
#973FA5 #A5643F #4DA53F #3F80A5
square
#973FA5 #A5643F #4DA53F #3F80A5
split-complementary
#973FA5 #80A53F #3FA564
monochromatic
#461D4C #6E2E79 #973FA5 #B45FC2 #C98CD3

Accessibility & contrast

On white

5.88
#973FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#973FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FA5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FA5#FFFFFF#000000##FFFFFF
##973FA51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#994F6C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973fa5;
/* rgb */ color: rgb(151, 63, 165);
/* oklch */ color: oklch(52.7% 0.174 322.0);
Tailwind
colors: {
  custom: {
    50: '#b87ac0',
    500: '#973fa5',
    950: '#000000',
  },
}
SCSS
$custom: #973fa5;
$custom-light: #b87ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#973fa5",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 291.765,
    "s": 44.737,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52665,
    "c": 0.17408,
    "h": 322
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#973FA5
secondary
#8ABE82
accent
#D45365
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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