#973DB1#973DB1

#973DB1 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 317.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#973DB1
RGBrgb(151, 61, 177)
HSLhsl(287, 49%, 47%)
HSVhsv(287, 66%, 69%)
CMYKcmyk(14.7%, 65.5%, 0%, 30.6%)
CIE-LABlab(42.90, 54.80, -45.11)
CIE-LCHlch(42.90, 70.98, 320.54°)
OKLaboklab(53.15% 0.1396 -0.1263)
OKLCHoklch(53.15% 0.188 317.9)
XYZxyz(22.3659, 13.0921, 42.9353)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DB1 #57B13D
analogous
#5D3DB1 #973DB1 #B13D91
triadic
#973DB1 #B1973D #3DB197
tetradic
#973DB1 #B15D3D #57B13D #3D91B1
square
#973DB1 #B15D3D #57B13D #3D91B1
split-complementary
#973DB1 #91B13D #3DB15D
monochromatic
#491E56 #702D83 #973DB1 #B262C9 #C890D9

Accessibility & contrast

On white

5.80
#973DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#973DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DB1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DB1#FFFFFF#000000##FFFFFF
##973DB11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1260B4
Deuteranopia (green-blind)
#4168AE
Tritanopia (blue-blind)
#965272
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973db1;
/* rgb */ color: rgb(151, 61, 177);
/* oklch */ color: oklch(53.1% 0.188 317.9);
Tailwind
colors: {
  custom: {
    50: '#b979c9',
    500: '#973db1',
    950: '#000000',
  },
}
SCSS
$custom: #973db1;
$custom-light: #b979c9;
$custom-dark: #000000;
JSON
{
  "hex": "#973db1",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 286.552,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.1883,
    "h": 317.9
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#973DB1
secondary
#94C486
accent
#D8506E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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