#973DCB#973DCB

#973DCB is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.9% C 0.213 H 310.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#973DCB
RGBrgb(151, 61, 203)
HSLhsl(278, 58%, 52%)
HSVhsv(278, 70%, 80%)
CMYKcmyk(25.6%, 70%, 0%, 20.4%)
CIE-LABlab(44.56, 60.21, -57.63)
CIE-LCHlch(44.56, 83.35, 316.26°)
OKLaboklab(54.87% 0.1377 -0.163)
OKLCHoklch(54.87% 0.213 310.2)
XYZxyz(25.2086, 14.2291, 57.9069)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DCB #71CB3D
analogous
#503DCB #973DCB #CB3DB8
triadic
#973DCB #CB973D #3DCB97
tetradic
#973DCB #CB503D #71CB3D #3DB8CB
square
#973DCB #CB503D #71CB3D #3DB8CB
split-complementary
#973DCB #B8CB3D #3DCB50
monochromatic
#521E70 #752BA0 #973DCB #B16DD8 #CB9EE5

Accessibility & contrast

On white

5.46
#973DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#973DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DCB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DCB#FFFFFF#000000##FFFFFF
##973DCB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#246BC8
Tritanopia (blue-blind)
#905C80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973dcb;
/* rgb */ color: rgb(151, 61, 203);
/* oklch */ color: oklch(54.9% 0.213 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba7adc',
    500: '#973dcb',
    950: '#000000',
  },
}
SCSS
$custom: #973dcb;
$custom-light: #ba7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#973dcb",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 203
  },
  "hsl": {
    "h": 278.028,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54868,
    "c": 0.21342,
    "h": 310.2
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #973DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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