#973EA3#973EA3

#973EA3 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.4% C 0.174 H 322.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#973EA3
RGBrgb(151, 62, 163)
HSLhsl(293, 45%, 44%)
HSVhsv(293, 62%, 64%)
CMYKcmyk(7.4%, 62%, 0%, 36.1%)
CIE-LABlab(42.26, 51.60, -37.82)
CIE-LCHlch(42.26, 63.97, 323.76°)
OKLaboklab(52.43% 0.1383 -0.1051)
OKLCHoklch(52.43% 0.174 322.8)
XYZxyz(21.0953, 12.6700, 35.9776)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EA3 #4AA33E
analogous
#653EA3 #973EA3 #A33E7D
triadic
#973EA3 #A3973E #3EA397
tetradic
#973EA3 #A3653E #4AA33E #3E7DA3
square
#973EA3 #A3653E #4AA33E #3E7DA3
split-complementary
#973EA3 #7DA33E #3EA365
monochromatic
#451C4A #6E2D77 #973EA3 #B55DC1 #CA89D2

Accessibility & contrast

On white

5.94
#973EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#973EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EA3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EA3#FFFFFF#000000##FFFFFF
##973EA31.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#4C67A0
Tritanopia (blue-blind)
#994D6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ea3;
/* rgb */ color: rgb(151, 62, 163);
/* oklch */ color: oklch(52.4% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#b879bf',
    500: '#973ea3',
    950: '#000000',
  },
}
SCSS
$custom: #973ea3;
$custom-light: #b879bf;
$custom-dark: #000000;
JSON
{
  "hex": "#973ea3",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 292.871,
    "s": 44.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52428,
    "c": 0.17367,
    "h": 322.8
  },
  "luminance": 0.12669
}

Semantic roles & 50–950 ramp

primary
#973EA3
secondary
#87BD80
accent
#D55363
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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