#973EA2#973EA2

#973EA2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.4% C 0.173 H 323.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#973EA2
RGBrgb(151, 62, 162)
HSLhsl(293, 45%, 44%)
HSVhsv(293, 62%, 64%)
CMYKcmyk(6.8%, 61.7%, 0%, 36.5%)
CIE-LABlab(42.21, 51.41, -37.31)
CIE-LCHlch(42.21, 63.52, 324.03°)
OKLaboklab(52.37% 0.1382 -0.1036)
OKLCHoklch(52.37% 0.173 323.1)
XYZxyz(21.0061, 12.6343, 35.5076)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EA2 #49A23E
analogous
#653EA2 #973EA2 #A23E7B
triadic
#973EA2 #A2973E #3EA297
tetradic
#973EA2 #A2653E #49A23E #3E7BA2
square
#973EA2 #A2653E #49A23E #3E7BA2
split-complementary
#973EA2 #7BA23E #3EA265
monochromatic
#441C49 #6E2D76 #973EA2 #B65CC1 #CA89D2

Accessibility & contrast

On white

5.95
#973EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #973EA2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EA2#FFFFFF#000000##FFFFFF
##973EA21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#994D6A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ea2;
/* rgb */ color: rgb(151, 62, 162);
/* oklch */ color: oklch(52.4% 0.173 323.1);
Tailwind
colors: {
  custom: {
    50: '#b879be',
    500: '#973ea2',
    950: '#000000',
  },
}
SCSS
$custom: #973ea2;
$custom-light: #b879be;
$custom-dark: #000000;
JSON
{
  "hex": "#973ea2",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 293.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.17273,
    "h": 323.1
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#973EA2
secondary
#86BC80
accent
#D45362
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #973EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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