#973AB2#973AB2

#973AB2 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.193 H 317.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#973AB2
RGBrgb(151, 58, 178)
HSLhsl(287, 51%, 46%)
HSVhsv(287, 67%, 70%)
CMYKcmyk(15.2%, 67.4%, 0%, 30.2%)
CIE-LABlab(42.49, 56.31, -46.35)
CIE-LCHlch(42.49, 72.93, 320.54°)
OKLaboklab(52.87% 0.143 -0.13)
OKLCHoklch(52.87% 0.193 317.7)
XYZxyz(22.3103, 12.8207, 43.4103)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973AB2 #55B23A
analogous
#5B3AB2 #973AB2 #B23A91
triadic
#973AB2 #B2973A #3AB297
tetradic
#973AB2 #B25B3A #55B23A #3A91B2
square
#973AB2 #B25B3A #55B23A #3A91B2
split-complementary
#973AB2 #91B23A #3AB25B
monochromatic
#491C56 #702B84 #973AB2 #B25FCB #C88DDA

Accessibility & contrast

On white

5.89
#973AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#973AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973AB2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973AB2#FFFFFF#000000##FFFFFF
##973AB21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025EB6
Deuteranopia (green-blind)
#3E67AF
Tritanopia (blue-blind)
#965071
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973ab2;
/* rgb */ color: rgb(151, 58, 178);
/* oklch */ color: oklch(52.9% 0.193 317.7);
Tailwind
colors: {
  custom: {
    50: '#b977ca',
    500: '#973ab2',
    950: '#000000',
  },
}
SCSS
$custom: #973ab2;
$custom-light: #b977ca;
$custom-dark: #000000;
JSON
{
  "hex": "#973ab2",
  "rgb": {
    "r": 151,
    "g": 58,
    "b": 178
  },
  "hsl": {
    "h": 286.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.19325,
    "h": 317.7
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#973AB2
secondary
#92C483
accent
#DA4D6D
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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