#973EC2#973EC2

#973EC2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.4% C 0.203 H 312.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#973EC2
RGBrgb(151, 62, 194)
HSLhsl(280, 52%, 50%)
HSVhsv(280, 68%, 76%)
CMYKcmyk(22.2%, 68%, 0%, 23.9%)
CIE-LABlab(44.12, 57.87, -53.12)
CIE-LCHlch(44.12, 78.55, 317.45°)
OKLaboklab(54.36% 0.1376 -0.1498)
OKLCHoklch(54.36% 0.203 312.6)
XYZxyz(24.2210, 13.9203, 52.4395)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EC2 #69C23E
analogous
#553EC2 #973EC2 #C23EAB
triadic
#973EC2 #C2973E #3EC297
tetradic
#973EC2 #C2553E #69C23E #3EABC2
square
#973EC2 #C2553E #69C23E #3EABC2
split-complementary
#973EC2 #ABC23E #3EC255
monochromatic
#4F2066 #732F94 #973EC2 #B06DD1 #C99BDF

Accessibility & contrast

On white

5.55
#973EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#973EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EC2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EC2#FFFFFF#000000##FFFFFF
##973EC21.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#92597B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #973ec2;
/* rgb */ color: rgb(151, 62, 194);
/* oklch */ color: oklch(54.4% 0.203 312.6);
Tailwind
colors: {
  custom: {
    50: '#b97ad5',
    500: '#973ec2',
    950: '#000000',
  },
}
SCSS
$custom: #973ec2;
$custom-light: #b97ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#973ec2",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 280.455,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.2034,
    "h": 312.6
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#973EC2
secondary
#A4CB90
accent
#DB4C7B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #973EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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