#973FA7#973FA7

#973FA7 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.8% C 0.176 H 321.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#973FA7
RGBrgb(151, 63, 167)
HSLhsl(291, 45%, 45%)
HSVhsv(291, 62%, 65%)
CMYKcmyk(9.6%, 62.3%, 0%, 34.5%)
CIE-LABlab(42.65, 51.91, -39.58)
CIE-LCHlch(42.65, 65.28, 322.68°)
OKLaboklab(52.78% 0.1372 -0.1102)
OKLCHoklch(52.78% 0.176 321.2)
XYZxyz(21.5143, 12.9254, 37.9133)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FA7 #4FA73F
analogous
#633FA7 #973FA7 #A73F83
triadic
#973FA7 #A7973F #3FA797
tetradic
#973FA7 #A7633F #4FA73F #3F83A7
square
#973FA7 #A7633F #4FA73F #3F83A7
split-complementary
#973FA7 #83A73F #3FA763
monochromatic
#471D4E #6F2E7B #973FA7 #B460C3 #C98DD4

Accessibility & contrast

On white

5.86
#973FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#973FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FA7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FA7#FFFFFF#000000##FFFFFF
##973FA71.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EAA
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#984F6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #973fa7;
/* rgb */ color: rgb(151, 63, 167);
/* oklch */ color: oklch(52.8% 0.176 321.2);
Tailwind
colors: {
  custom: {
    50: '#b87ac1',
    500: '#973fa7',
    950: '#000000',
  },
}
SCSS
$custom: #973fa7;
$custom-light: #b87ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#973fa7",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 290.769,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.17597,
    "h": 321.2
  },
  "luminance": 0.12924
}

Semantic roles & 50–950 ramp

primary
#973FA7
secondary
#8CBF83
accent
#D55367
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #973FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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