#973ED7#973ED7

#973ED7 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.224 H 307.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#973ED7
RGBrgb(151, 62, 215)
HSLhsl(275, 66%, 54%)
HSVhsv(275, 71%, 84%)
CMYKcmyk(29.8%, 71.2%, 0%, 15.7%)
CIE-LABlab(45.54, 62.40, -62.94)
CIE-LCHlch(45.54, 88.63, 314.75°)
OKLaboklab(55.83% 0.135 -0.1787)
OKLCHoklch(55.83% 0.224 307.1)
XYZxyz(26.7482, 14.9312, 65.7497)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ED7 #7ED73E
analogous
#4B3ED7 #973ED7 #D73ECA
triadic
#973ED7 #D7973E #3ED797
tetradic
#973ED7 #D74B3E #7ED73E #3ECAD7
square
#973ED7 #D74B3E #7ED73E #3ECAD7
split-complementary
#973ED7 #CAD73E #3ED74B
monochromatic
#561B80 #7725B3 #973ED7 #B271E2 #CEA3EC

Accessibility & contrast

On white

5.27
#973ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#973ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ED7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ED7#FFFFFF#000000##FFFFFF
##973ED71.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#016CD4
Tritanopia (blue-blind)
#8C6287
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #973ed7;
/* rgb */ color: rgb(151, 62, 215);
/* oklch */ color: oklch(55.8% 0.224 307.1);
Tailwind
colors: {
  custom: {
    50: '#bb7be4',
    500: '#973ed7',
    950: '#000000',
  },
}
SCSS
$custom: #973ed7;
$custom-light: #bb7be4;
$custom-dark: #000000;
JSON
{
  "hex": "#973ed7",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 215
  },
  "hsl": {
    "h": 274.902,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.22396,
    "h": 307.1
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#973ED7
secondary
#B3D998
accent
#E93F86
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #973ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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