#973ECB#973ECB

#973ECB is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.212 H 310.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#973ECB
RGBrgb(151, 62, 203)
HSLhsl(278, 58%, 52%)
HSVhsv(278, 69%, 80%)
CMYKcmyk(25.6%, 69.5%, 0%, 20.4%)
CIE-LABlab(44.71, 59.79, -57.38)
CIE-LCHlch(44.71, 82.87, 316.18°)
OKLaboklab(54.98% 0.1367 -0.1623)
OKLCHoklch(54.98% 0.212 310.1)
XYZxyz(25.2625, 14.3369, 57.9248)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973ECB #72CB3E
analogous
#513ECB #973ECB #CB3EB9
triadic
#973ECB #CB973E #3ECB97
tetradic
#973ECB #CB513E #72CB3E #3EB9CB
square
#973ECB #CB513E #72CB3E #3EB9CB
split-complementary
#973ECB #B9CB3E #3ECB51
monochromatic
#521E70 #752BA1 #973ECB #B16ED8 #CB9EE5

Accessibility & contrast

On white

5.43
#973ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#973ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973ECB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973ECB#FFFFFF#000000##FFFFFF
##973ECB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#905D80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #973ecb;
/* rgb */ color: rgb(151, 62, 203);
/* oklch */ color: oklch(55.0% 0.212 310.1);
Tailwind
colors: {
  custom: {
    50: '#ba7adc',
    500: '#973ecb',
    950: '#000000',
  },
}
SCSS
$custom: #973ecb;
$custom-light: #ba7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#973ecb",
  "rgb": {
    "r": 151,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 277.872,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.2122,
    "h": 310.1
  },
  "luminance": 0.14336
}

Semantic roles & 50–950 ramp

primary
#973ECB
secondary
#AAD194
accent
#E14780
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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