#973EE2#973EE2

#973EE2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.6% C 0.235 H 304.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#973EE2
RGBrgb(151, 62, 226)
HSLhsl(273, 74%, 56%)
HSVhsv(273, 73%, 89%)
CMYKcmyk(33.2%, 72.6%, 0%, 11.4%)
CIE-LABlab(46.33, 64.85, -67.93)
CIE-LCHlch(46.33, 93.91, 313.67°)
OKLaboklab(56.64% 0.1332 -0.1933)
OKLCHoklch(56.64% 0.235 304.6)
XYZxyz(28.2095, 15.5157, 73.4454)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973EE2 #89E23E
analogous
#453EE2 #973EE2 #E23EDB
triadic
#973EE2 #E2973E #3EE297
tetradic
#973EE2 #E2453E #89E23E #3EDBE2
square
#973EE2 #E2453E #89E23E #3EDBE2
split-complementary
#973EE2 #DBE23E #3EE245
monochromatic
#581690 #791EC5 #973EE2 #B473EA #D0A8F2

Accessibility & contrast

On white

5.12
#973EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#973EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973EE2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973EE2#FFFFFF#000000##FFFFFF
##973EE21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#89668D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #973ee2;
/* rgb */ color: rgb(151, 62, 226);
/* oklch */ color: oklch(56.6% 0.235 304.6);
Tailwind
colors: {
  custom: {
    50: '#bb7bec',
    500: '#973ee2',
    950: '#000000',
  },
}
SCSS
$custom: #973ee2;
$custom-light: #bb7bec;
$custom-dark: #000000;
JSON
{
  "hex": "#973ee2",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 226
  },
  "hsl": {
    "h": 272.561,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.23475,
    "h": 304.6
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#973EE2
secondary
#BBE09C
accent
#F1378C
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #973EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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