#973ECC#973ECC

#973ECC is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.213 H 309.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#973ECC
RGBrgb(151, 62, 204)
HSLhsl(278, 58%, 52%)
HSVhsv(278, 70%, 80%)
CMYKcmyk(26%, 69.6%, 0%, 20%)
CIE-LABlab(44.78, 60.00, -57.85)
CIE-LCHlch(44.78, 83.35, 316.05°)
OKLaboklab(55.05% 0.1366 -0.1637)
OKLCHoklch(55.05% 0.213 309.8)
XYZxyz(25.3821, 14.3847, 58.5545)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ECC #73CC3E
analogous
#503ECC #973ECC #CC3EBA
triadic
#973ECC #CC973E #3ECC97
tetradic
#973ECC #CC503E #73CC3E #3EBACC
square
#973ECC #CC503E #73CC3E #3EBACC
split-complementary
#973ECC #BACC3E #3ECC50
monochromatic
#521E72 #762BA2 #973ECC #B16ED9 #CB9FE6

Accessibility & contrast

On white

5.42
#973ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#973ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ECC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ECC#FFFFFF#000000##FFFFFF
##973ECC1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#905D81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #973ecc;
/* rgb */ color: rgb(151, 62, 204);
/* oklch */ color: oklch(55.0% 0.213 309.8);
Tailwind
colors: {
  custom: {
    50: '#ba7adc',
    500: '#973ecc',
    950: '#000000',
  },
}
SCSS
$custom: #973ecc;
$custom-light: #ba7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#973ecc",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 277.606,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.21318,
    "h": 309.8
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#973ECC
secondary
#ABD294
accent
#E14680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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