#973FA2#973FA2

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

Color values

HEX#973FA2
RGBrgb(151, 63, 162)
HSLhsl(293, 44%, 44%)
HSVhsv(293, 61%, 64%)
CMYKcmyk(6.8%, 61.1%, 0%, 36.5%)
CIE-LABlab(42.38, 50.95, -37.04)
CIE-LCHlch(42.38, 62.99, 323.98°)
OKLaboklab(52.49% 0.1369 -0.1028)
OKLCHoklch(52.49% 0.171 323.1)
XYZxyz(21.0610, 12.7441, 35.5259)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FA2 #4AA23F
analogous
#663FA2 #973FA2 #A23F7C
triadic
#973FA2 #A2973F #3FA297
tetradic
#973FA2 #A2663F #4AA23F #3F7CA2
square
#973FA2 #A2663F #4AA23F #3F7CA2
split-complementary
#973FA2 #7CA23F #3FA266
monochromatic
#451D4A #6E2E76 #973FA2 #B55EC0 #CA8AD1

Accessibility & contrast

On white

5.92
#973FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#973FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FA2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FA2#FFFFFF#000000##FFFFFF
##973FA21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#4D689F
Tritanopia (blue-blind)
#994E6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973fa2;
/* rgb */ color: rgb(151, 63, 162);
/* oklch */ color: oklch(52.5% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#b87abe',
    500: '#973fa2',
    950: '#000000',
  },
}
SCSS
$custom: #973fa2;
$custom-light: #b87abe;
$custom-dark: #000000;
JSON
{
  "hex": "#973fa2",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 293.333,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52492,
    "c": 0.17126,
    "h": 323.1
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#973FA2
secondary
#87BC81
accent
#D45462
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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