#973BAF#973BAF

#973BAF is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.8% C 0.189 H 318.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#973BAF
RGBrgb(151, 59, 175)
HSLhsl(288, 50%, 46%)
HSVhsv(288, 66%, 69%)
CMYKcmyk(13.7%, 66.3%, 0%, 31.4%)
CIE-LABlab(42.47, 55.28, -44.62)
CIE-LCHlch(42.47, 71.04, 321.09°)
OKLaboklab(52.8% 0.142 -0.1249)
OKLCHoklch(52.8% 0.189 318.7)
XYZxyz(22.0633, 12.8034, 41.8582)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BAF #53AF3B
analogous
#5D3BAF #973BAF #AF3B8D
triadic
#973BAF #AF973B #3BAF97
tetradic
#973BAF #AF5D3B #53AF3B #3B8DAF
square
#973BAF #AF5D3B #53AF3B #3B8DAF
split-complementary
#973BAF #8DAF3B #3BAF5D
monochromatic
#481C53 #702C81 #973BAF #B35EC9 #C98CD8

Accessibility & contrast

On white

5.90
#973BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #973BAF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BAF#FFFFFF#000000##FFFFFF
##973BAF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105EB2
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#975070
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #973baf;
/* rgb */ color: rgb(151, 59, 175);
/* oklch */ color: oklch(52.8% 0.189 318.7);
Tailwind
colors: {
  custom: {
    50: '#b978c7',
    500: '#973baf',
    950: '#000000',
  },
}
SCSS
$custom: #973baf;
$custom-light: #b978c7;
$custom-dark: #000000;
JSON
{
  "hex": "#973baf",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 287.586,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.18911,
    "h": 318.7
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#973BAF
secondary
#90C383
accent
#D94F6B
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120913
muted
#817B82

Preview Lab

Preview with #973BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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