#973EB2#973EB2

#973EB2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.3% C 0.188 H 317.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#973EB2
RGBrgb(151, 62, 178)
HSLhsl(286, 48%, 47%)
HSVhsv(286, 65%, 70%)
CMYKcmyk(15.2%, 65.2%, 0%, 30.2%)
CIE-LABlab(43.12, 54.56, -45.34)
CIE-LCHlch(43.12, 70.94, 320.27°)
OKLaboklab(53.33% 0.1384 -0.127)
OKLCHoklch(53.33% 0.188 317.5)
XYZxyz(22.5199, 13.2398, 43.4801)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EB2 #59B23E
analogous
#5D3EB2 #973EB2 #B23E93
triadic
#973EB2 #B2973E #3EB297
tetradic
#973EB2 #B25D3E #59B23E #3E93B2
square
#973EB2 #B25D3E #59B23E #3E93B2
split-complementary
#973EB2 #93B23E #3EB25D
monochromatic
#4A1E57 #702E85 #973EB2 #B264C9 #C892D9

Accessibility & contrast

On white

5.76
#973EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#973EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EB2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EB2#FFFFFF#000000##FFFFFF
##973EB21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1360B5
Deuteranopia (green-blind)
#4169AF
Tritanopia (blue-blind)
#965373
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #973eb2;
/* rgb */ color: rgb(151, 62, 178);
/* oklch */ color: oklch(53.3% 0.188 317.5);
Tailwind
colors: {
  custom: {
    50: '#b97ac9',
    500: '#973eb2',
    950: '#000000',
  },
}
SCSS
$custom: #973eb2;
$custom-light: #b97ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#973eb2",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 286.034,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.1879,
    "h": 317.5
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#973EB2
secondary
#96C488
accent
#D85070
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #973EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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