#973ECD#973ECD

#973ECD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.214 H 309.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#973ECD
RGBrgb(151, 62, 205)
HSLhsl(277, 59%, 52%)
HSVhsv(277, 70%, 80%)
CMYKcmyk(26.3%, 69.8%, 0%, 19.6%)
CIE-LABlab(44.85, 60.22, -58.32)
CIE-LCHlch(44.85, 83.83, 315.92°)
OKLaboklab(55.12% 0.1364 -0.1651)
OKLCHoklch(55.12% 0.214 309.6)
XYZxyz(25.5024, 14.4328, 59.1881)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ECD #74CD3E
analogous
#503ECD #973ECD #CD3EBB
triadic
#973ECD #CD973E #3ECD97
tetradic
#973ECD #CD503E #74CD3E #3EBBCD
square
#973ECD #CD503E #74CD3E #3EBBCD
split-complementary
#973ECD #BBCD3E #3ECD50
monochromatic
#531E73 #762AA3 #973ECD #B16FDA #CB9FE6

Accessibility & contrast

On white

5.40
#973ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#973ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ECD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ECD#FFFFFF#000000##FFFFFF
##973ECD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#226BCA
Tritanopia (blue-blind)
#8F5D81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #973ecd;
/* rgb */ color: rgb(151, 62, 205);
/* oklch */ color: oklch(55.1% 0.214 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba7add',
    500: '#973ecd',
    950: '#000000',
  },
}
SCSS
$custom: #973ecd;
$custom-light: #ba7add;
$custom-dark: #000000;
JSON
{
  "hex": "#973ecd",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 277.343,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55116,
    "c": 0.21416,
    "h": 309.6
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#973ECD
secondary
#ACD394
accent
#E24681
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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