#973ED4#973ED4

#973ED4 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.6% C 0.221 H 307.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#973ED4
RGBrgb(151, 62, 212)
HSLhsl(276, 64%, 54%)
HSVhsv(276, 71%, 83%)
CMYKcmyk(28.8%, 70.8%, 0%, 16.9%)
CIE-LABlab(45.33, 61.74, -61.57)
CIE-LCHlch(45.33, 87.19, 315.08°)
OKLaboklab(55.61% 0.1355 -0.1746)
OKLCHoklch(55.61% 0.221 307.8)
XYZxyz(26.3663, 14.7784, 63.7381)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ED4 #7BD43E
analogous
#4C3ED4 #973ED4 #D43EC6
triadic
#973ED4 #D4973E #3ED497
tetradic
#973ED4 #D44C3E #7BD43E #3EC6D4
square
#973ED4 #D44C3E #7BD43E #3EC6D4
split-complementary
#973ED4 #C6D43E #3ED44C
monochromatic
#551C7C #7727AE #973ED4 #B270DF #CDA2EA

Accessibility & contrast

On white

5.31
#973ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#973ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ED4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ED4#FFFFFF#000000##FFFFFF
##973ED41.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#106CD1
Tritanopia (blue-blind)
#8D6085
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #973ed4;
/* rgb */ color: rgb(151, 62, 212);
/* oklch */ color: oklch(55.6% 0.221 307.8);
Tailwind
colors: {
  custom: {
    50: '#bb7be2',
    500: '#973ed4',
    950: '#000000',
  },
}
SCSS
$custom: #973ed4;
$custom-light: #bb7be2;
$custom-dark: #000000;
JSON
{
  "hex": "#973ed4",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 212
  },
  "hsl": {
    "h": 275.6,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55611,
    "c": 0.22102,
    "h": 307.8
  },
  "luminance": 0.14778
}

Semantic roles & 50–950 ramp

primary
#973ED4
secondary
#B1D797
accent
#E74184
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #973ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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