#973FA8#973FA8

#973FA8 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.8% C 0.177 H 320.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#973FA8
RGBrgb(151, 63, 168)
HSLhsl(290, 45%, 45%)
HSVhsv(290, 63%, 66%)
CMYKcmyk(10.1%, 62.5%, 0%, 34.1%)
CIE-LABlab(42.71, 52.11, -40.09)
CIE-LCHlch(42.71, 65.75, 322.43°)
OKLaboklab(52.84% 0.1372 -0.1117)
OKLCHoklch(52.84% 0.177 320.8)
XYZxyz(21.6071, 12.9625, 38.4021)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FA8 #50A83F
analogous
#633FA8 #973FA8 #A83F84
triadic
#973FA8 #A8973F #3FA897
tetradic
#973FA8 #A8633F #50A83F #3F84A8
square
#973FA8 #A8633F #50A83F #3F84A8
split-complementary
#973FA8 #84A83F #3FA863
monochromatic
#471E4F #6F2E7B #973FA8 #B461C4 #C98DD4

Accessibility & contrast

On white

5.85
#973FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#973FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FA8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FA8#FFFFFF#000000##FFFFFF
##973FA81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#98506E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973fa8;
/* rgb */ color: rgb(151, 63, 168);
/* oklch */ color: oklch(52.8% 0.177 320.8);
Tailwind
colors: {
  custom: {
    50: '#b87ac2',
    500: '#973fa8',
    950: '#000000',
  },
}
SCSS
$custom: #973fa8;
$custom-light: #b87ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#973fa8",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 168
  },
  "hsl": {
    "h": 290.286,
    "s": 45.455,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.17693,
    "h": 320.8
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#973FA8
secondary
#8DBF84
accent
#D55368
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #973FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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