#973ED5#973ED5

#973ED5 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.7% C 0.222 H 307.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#973ED5
RGBrgb(151, 62, 213)
HSLhsl(275, 64%, 54%)
HSVhsv(275, 71%, 84%)
CMYKcmyk(29.1%, 70.9%, 0%, 16.5%)
CIE-LABlab(45.40, 61.96, -62.03)
CIE-LCHlch(45.40, 87.67, 314.97°)
OKLaboklab(55.68% 0.1354 -0.176)
OKLCHoklch(55.68% 0.222 307.6)
XYZxyz(26.4928, 14.8290, 64.4045)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ED5 #7CD53E
analogous
#4C3ED5 #973ED5 #D53EC8
triadic
#973ED5 #D5973E #3ED597
tetradic
#973ED5 #D54C3E #7CD53E #3EC8D5
square
#973ED5 #D54C3E #7CD53E #3EC8D5
split-complementary
#973ED5 #C8D53E #3ED54C
monochromatic
#551B7D #7726B0 #973ED5 #B270E0 #CDA3EB

Accessibility & contrast

On white

5.30
#973ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#973ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ED5
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ED5#FFFFFF#000000##FFFFFF
##973ED51.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0B6CD2
Tritanopia (blue-blind)
#8D6186
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #973ed5;
/* rgb */ color: rgb(151, 62, 213);
/* oklch */ color: oklch(55.7% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb7be3',
    500: '#973ed5',
    950: '#000000',
  },
}
SCSS
$custom: #973ed5;
$custom-light: #bb7be3;
$custom-dark: #000000;
JSON
{
  "hex": "#973ed5",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 213
  },
  "hsl": {
    "h": 275.364,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.222,
    "h": 307.6
  },
  "luminance": 0.14829
}

Semantic roles & 50–950 ramp

primary
#973ED5
secondary
#B2D897
accent
#E74185
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #973ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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