#973ECA#973ECA

#973ECA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.211 H 310.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#973ECA
RGBrgb(151, 62, 202)
HSLhsl(278, 57%, 52%)
HSVhsv(278, 69%, 79%)
CMYKcmyk(25.2%, 69.3%, 0%, 20.8%)
CIE-LABlab(44.65, 59.57, -56.91)
CIE-LCHlch(44.65, 82.39, 316.31°)
OKLaboklab(54.91% 0.1368 -0.1609)
OKLCHoklch(54.91% 0.211 310.4)
XYZxyz(25.1437, 14.2894, 57.2992)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ECA #71CA3E
analogous
#513ECA #973ECA #CA3EB7
triadic
#973ECA #CA973E #3ECA97
tetradic
#973ECA #CA513E #71CA3E #3EB7CA
square
#973ECA #CA513E #71CA3E #3EB7CA
split-complementary
#973ECA #B7CA3E #3ECA51
monochromatic
#521F6F #752C9F #973ECA #B16ED7 #CB9EE4

Accessibility & contrast

On white

5.44
#973ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#973ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ECA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ECA#FFFFFF#000000##FFFFFF
##973ECA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#276BC7
Tritanopia (blue-blind)
#905C80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #973eca;
/* rgb */ color: rgb(151, 62, 202);
/* oklch */ color: oklch(54.9% 0.211 310.4);
Tailwind
colors: {
  custom: {
    50: '#ba7adb',
    500: '#973eca',
    950: '#000000',
  },
}
SCSS
$custom: #973eca;
$custom-light: #ba7adb;
$custom-dark: #000000;
JSON
{
  "hex": "#973eca",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 278.143,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54907,
    "c": 0.21122,
    "h": 310.4
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#973ECA
secondary
#AAD193
accent
#E0487F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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