#973EA4#973EA4

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

Color values

HEX#973EA4
RGBrgb(151, 62, 164)
HSLhsl(292, 45%, 44%)
HSVhsv(292, 62%, 64%)
CMYKcmyk(7.9%, 62.2%, 0%, 35.7%)
CIE-LABlab(42.32, 51.79, -38.33)
CIE-LCHlch(42.32, 64.43, 323.50°)
OKLaboklab(52.49% 0.1383 -0.1066)
OKLCHoklch(52.49% 0.175 322.4)
XYZxyz(21.1853, 12.7060, 36.4514)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EA4 #4BA43E
analogous
#643EA4 #973EA4 #A43E7E
triadic
#973EA4 #A4973E #3EA497
tetradic
#973EA4 #A4643E #4BA43E #3E7EA4
square
#973EA4 #A4643E #4BA43E #3E7EA4
split-complementary
#973EA4 #7EA43E #3EA464
monochromatic
#451C4B #6E2D78 #973EA4 #B55DC2 #C98AD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##973EA4#FFFFFF#000000##FFFFFF
##973EA41.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)
#295DA7
Deuteranopia (green-blind)
#4B67A1
Tritanopia (blue-blind)
#994E6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ea4;
/* rgb */ color: rgb(151, 62, 164);
/* oklch */ color: oklch(52.5% 0.175 322.4);
Tailwind
colors: {
  custom: {
    50: '#b879bf',
    500: '#973ea4',
    950: '#000000',
  },
}
SCSS
$custom: #973ea4;
$custom-light: #b879bf;
$custom-dark: #000000;
JSON
{
  "hex": "#973ea4",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 292.353,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.1746,
    "h": 322.4
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#973EA4
secondary
#88BD81
accent
#D55364
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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