#973BCB#973BCB

#973BCB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.216 H 310.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#973BCB
RGBrgb(151, 59, 203)
HSLhsl(278, 58%, 51%)
HSVhsv(278, 71%, 80%)
CMYKcmyk(25.6%, 70.9%, 0%, 20.4%)
CIE-LABlab(44.26, 61.06, -58.11)
CIE-LCHlch(44.26, 84.29, 316.42°)
OKLaboklab(54.66% 0.1397 -0.1645)
OKLCHoklch(54.66% 0.216 310.4)
XYZxyz(25.1039, 14.0196, 57.8719)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973BCB #6FCB3B
analogous
#4F3BCB #973BCB #CB3BB7
triadic
#973BCB #CB973B #3BCB97
tetradic
#973BCB #CB4F3B #6FCB3B #3BB7CB
square
#973BCB #CB4F3B #6FCB3B #3BB7CB
split-complementary
#973BCB #B7CB3B #3BCB4F
monochromatic
#511D6E #752A9F #973BCB #B16BD8 #CA9CE5

Accessibility & contrast

On white

5.52
#973BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#973BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973BCB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973BCB#FFFFFF#000000##FFFFFF
##973BCB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#905B7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973bcb;
/* rgb */ color: rgb(151, 59, 203);
/* oklch */ color: oklch(54.7% 0.216 310.4);
Tailwind
colors: {
  custom: {
    50: '#ba79dc',
    500: '#973bcb',
    950: '#000000',
  },
}
SCSS
$custom: #973bcb;
$custom-light: #ba79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#973bcb",
  "rgb": {
    "r": 151,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 278.333,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.2158,
    "h": 310.4
  },
  "luminance": 0.14019
}

Semantic roles & 50–950 ramp

primary
#973BCB
secondary
#A8D191
accent
#E1477E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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