#973DC8#973DC8

#973DC8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.210 H 311.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#973DC8
RGBrgb(151, 61, 200)
HSLhsl(279, 56%, 51%)
HSVhsv(279, 70%, 78%)
CMYKcmyk(24.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(44.36, 59.57, -56.22)
CIE-LCHlch(44.36, 81.91, 316.66°)
OKLaboklab(54.66% 0.1381 -0.1589)
OKLCHoklch(54.66% 0.211 311)
XYZxyz(24.8546, 14.0875, 56.0422)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973DC8 #6EC83D
analogous
#513DC8 #973DC8 #C83DB3
triadic
#973DC8 #C8973D #3DC897
tetradic
#973DC8 #C8513D #6EC83D #3DB3C8
square
#973DC8 #C8513D #6EC83D #3DB3C8
split-complementary
#973DC8 #B3C83D #3DC851
monochromatic
#511F6C #742C9C #973DC8 #B16DD6 #CA9CE3

Accessibility & contrast

On white

5.50
#973DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#973DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973DC8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973DC8#FFFFFF#000000##FFFFFF
##973DC81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#296AC5
Tritanopia (blue-blind)
#915B7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #973dc8;
/* rgb */ color: rgb(151, 61, 200);
/* oklch */ color: oklch(54.7% 0.210 311.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ad9',
    500: '#973dc8',
    950: '#000000',
  },
}
SCSS
$custom: #973dc8;
$custom-light: #ba7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#973dc8",
  "rgb": {
    "r": 151,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 278.849,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.2105,
    "h": 311
  },
  "luminance": 0.14087
}

Semantic roles & 50–950 ramp

primary
#973DC8
secondary
#A7CF92
accent
#DF497E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #973DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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