#973ED2#973ED2

#973ED2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.5% C 0.219 H 308.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#973ED2
RGBrgb(151, 62, 210)
HSLhsl(276, 62%, 53%)
HSVhsv(276, 70%, 82%)
CMYKcmyk(28.1%, 70.5%, 0%, 17.6%)
CIE-LABlab(45.19, 61.30, -60.64)
CIE-LCHlch(45.19, 86.23, 315.31°)
OKLaboklab(55.47% 0.1358 -0.1719)
OKLCHoklch(55.47% 0.219 308.3)
XYZxyz(26.1156, 14.6781, 62.4177)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ED2 #79D23E
analogous
#4D3ED2 #973ED2 #D23EC3
triadic
#973ED2 #D2973E #3ED297
tetradic
#973ED2 #D24D3E #79D23E #3EC3D2
square
#973ED2 #D24D3E #79D23E #3EC3D2
split-complementary
#973ED2 #C3D23E #3ED24D
monochromatic
#541C79 #7728AB #973ED2 #B270DE #CCA1E9

Accessibility & contrast

On white

5.34
#973ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#973ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ED2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ED2#FFFFFF#000000##FFFFFF
##973ED21.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#166CCF
Tritanopia (blue-blind)
#8E6084
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #973ed2;
/* rgb */ color: rgb(151, 62, 210);
/* oklch */ color: oklch(55.5% 0.219 308.3);
Tailwind
colors: {
  custom: {
    50: '#ba7be1',
    500: '#973ed2',
    950: '#000000',
  },
}
SCSS
$custom: #973ed2;
$custom-light: #ba7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#973ed2",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 210
  },
  "hsl": {
    "h": 276.081,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55468,
    "c": 0.21906,
    "h": 308.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#973ED2
secondary
#AFD696
accent
#E54383
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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