#976AE9#976AE9

#976AE9 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.185 H 297.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#976AE9
RGBrgb(151, 106, 233)
HSLhsl(261, 74%, 66%)
HSVhsv(261, 55%, 91%)
CMYKcmyk(35.2%, 54.5%, 0%, 8.6%)
CIE-LABlab(54.83, 44.75, -58.15)
CIE-LCHlch(54.83, 73.38, 307.58°)
OKLaboklab(62.93% 0.0844 -0.1647)
OKLCHoklch(62.93% 0.185 297.1)
XYZxyz(32.6208, 22.7701, 79.7514)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AE9 #BCE96A
analogous
#6A7DE9 #976AE9 #D76AE9
triadic
#976AE9 #E9976A #6AE997
tetradic
#976AE9 #E96A7D #BCE96A #6AE9D7
square
#976AE9 #E96A7D #BCE96A #6AE9D7
split-complementary
#976AE9 #E9D76A #7DE96A
monochromatic
#551CBD #7235E1 #976AE9 #BC9FF1 #E1D5F9

Accessibility & contrast

On white

3.78
#976AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#976AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AE9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AE9#FFFFFF#000000##000000
##976AE91.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#84849F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976ae9;
/* rgb */ color: rgb(151, 106, 233);
/* oklch */ color: oklch(62.9% 0.185 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba96f1',
    500: '#976ae9',
    950: '#000000',
  },
}
SCSS
$custom: #976ae9;
$custom-light: #ba96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976ae9",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 233
  },
  "hsl": {
    "h": 261.26,
    "s": 74.269,
    "l": 66.471
  },
  "oklch": {
    "l": 0.62935,
    "c": 0.1851,
    "h": 297.1
  },
  "luminance": 0.22771
}

Semantic roles & 50–950 ramp

primary
#976AE9
secondary
#DDECC3
accent
#D60F90
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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