#976AD9#976AD9

#976AD9 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 62.0% C 0.165 H 300.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#976AD9
RGBrgb(151, 106, 217)
HSLhsl(264, 59%, 63%)
HSVhsv(264, 51%, 85%)
CMYKcmyk(30.4%, 51.2%, 0%, 14.9%)
CIE-LABlab(53.92, 40.71, -50.62)
CIE-LCHlch(53.92, 64.96, 308.81°)
OKLaboklab(61.96% 0.0836 -0.1427)
OKLCHoklch(61.96% 0.165 300.4)
XYZxyz(30.4380, 21.8970, 68.2551)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AD9 #ACD96A
analogous
#6A74D9 #976AD9 #CE6AD9
triadic
#976AD9 #D9976A #6AD997
tetradic
#976AD9 #D96A74 #ACD96A #6AD9CE
square
#976AD9 #D96A74 #ACD96A #6AD9CE
split-complementary
#976AD9 #D9CE6A #74D96A
monochromatic
#5929A0 #7539CD #976AD9 #B99BE5 #DBCCF2

Accessibility & contrast

On white

3.90
#976AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#976AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AD9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AD9#FFFFFF#000000##000000
##976AD91.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DD
Deuteranopia (green-blind)
#5080D6
Tritanopia (blue-blind)
#8A7F98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976ad9;
/* rgb */ color: rgb(151, 106, 217);
/* oklch */ color: oklch(62.0% 0.165 300.4);
Tailwind
colors: {
  custom: {
    50: '#b996e5',
    500: '#976ad9',
    950: '#000000',
  },
}
SCSS
$custom: #976ad9;
$custom-light: #b996e5;
$custom-dark: #000000;
JSON
{
  "hex": "#976ad9",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 217
  },
  "hsl": {
    "h": 264.324,
    "s": 59.358,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6196,
    "c": 0.16533,
    "h": 300.4
  },
  "luminance": 0.21897
}

Semantic roles & 50–950 ramp

primary
#976AD9
secondary
#D3E3BC
accent
#C71E83
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976AD9

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

Preview Lab → · Contrast checker → · Palette generator →

#976AD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva