#973FCB#973FCB

#973FCB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.1% C 0.211 H 310.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#973FCB
RGBrgb(151, 63, 203)
HSLhsl(278, 57%, 52%)
HSVhsv(278, 69%, 80%)
CMYKcmyk(25.6%, 69%, 0%, 20.4%)
CIE-LABlab(44.87, 59.35, -57.13)
CIE-LCHlch(44.87, 82.38, 316.09°)
OKLaboklab(55.09% 0.1356 -0.1616)
OKLCHoklch(55.09% 0.211 310)
XYZxyz(25.3174, 14.4466, 57.9431)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973FCB #73CB3F
analogous
#513FCB #973FCB #CB3FB9
triadic
#973FCB #CB973F #3FCB97
tetradic
#973FCB #CB513F #73CB3F #3FB9CB
square
#973FCB #CB513F #73CB3F #3FB9CB
split-complementary
#973FCB #B9CB3F #3FCB51
monochromatic
#521F71 #762CA1 #973FCB #B16FD8 #CB9FE5

Accessibility & contrast

On white

5.40
#973FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#973FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973FCB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973FCB#FFFFFF#000000##FFFFFF
##973FCB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #973fcb;
/* rgb */ color: rgb(151, 63, 203);
/* oklch */ color: oklch(55.1% 0.211 310.0);
Tailwind
colors: {
  custom: {
    50: '#ba7bdc',
    500: '#973fcb',
    950: '#000000',
  },
}
SCSS
$custom: #973fcb;
$custom-light: #ba7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#973fcb",
  "rgb": {
    "r": 151,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 277.714,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55087,
    "c": 0.21098,
    "h": 310
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #973FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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