#976AEE#976AEE

#976AEE is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.3% C 0.191 H 296.2°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#976AEE
RGBrgb(151, 106, 238)
HSLhsl(260, 80%, 67%)
HSVhsv(260, 55%, 93%)
CMYKcmyk(36.6%, 55.5%, 0%, 6.7%)
CIE-LABlab(55.13, 46.03, -60.47)
CIE-LCHlch(55.13, 76.00, 307.28°)
OKLaboklab(63.25% 0.0845 -0.1715)
OKLCHoklch(63.25% 0.191 296.2)
XYZxyz(33.3452, 23.0599, 83.5665)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AEE #C1EE6A
analogous
#6A7FEE #976AEE #D96AEE
triadic
#976AEE #EE976A #6AEE97
tetradic
#976AEE #EE6A7F #C1EE6A #6AEED9
square
#976AEE #EE6A7F #C1EE6A #6AEED9
split-complementary
#976AEE #EED96A #7FEE6A
monochromatic
#5317C7 #7133E8 #976AEE #BDA1F4 #E4D8FB

Accessibility & contrast

On white

3.74
#976AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#976AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AEE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AEE#FFFFFF#000000##000000
##976AEE1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B85F2
Deuteranopia (green-blind)
#3A82EB
Tritanopia (blue-blind)
#8285A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976aee;
/* rgb */ color: rgb(151, 106, 238);
/* oklch */ color: oklch(63.3% 0.191 296.2);
Tailwind
colors: {
  custom: {
    50: '#ba96f4',
    500: '#976aee',
    950: '#000000',
  },
}
SCSS
$custom: #976aee;
$custom-light: #ba96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#976aee",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 260.455,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63252,
    "c": 0.19122,
    "h": 296.2
  },
  "luminance": 0.2306
}

Semantic roles & 50–950 ramp

primary
#976AEE
secondary
#E0EFC5
accent
#DC0A94
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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