#976AEA#976AEA

#976AEA is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.0% C 0.186 H 296.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#976AEA
RGBrgb(151, 106, 234)
HSLhsl(261, 75%, 67%)
HSVhsv(261, 55%, 92%)
CMYKcmyk(35.5%, 54.7%, 0%, 8.2%)
CIE-LABlab(54.89, 45.00, -58.62)
CIE-LCHlch(54.89, 73.90, 307.51°)
OKLaboklab(63% 0.0844 -0.1661)
OKLCHoklch(63% 0.186 296.9)
XYZxyz(32.7641, 22.8274, 80.5059)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AEA #BDEA6A
analogous
#6A7DEA #976AEA #D76AEA
triadic
#976AEA #EA976A #6AEA97
tetradic
#976AEA #EA6A7D #BDEA6A #6AEAD7
square
#976AEA #EA6A7D #BDEA6A #6AEAD7
split-complementary
#976AEA #EAD76A #7DEA6A
monochromatic
#541BBF #7234E2 #976AEA #BCA0F2 #E2D5F9

Accessibility & contrast

On white

3.77
#976AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#976AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AEA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AEA#FFFFFF#000000##000000
##976AEA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#3F82E7
Tritanopia (blue-blind)
#8484A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976aea;
/* rgb */ color: rgb(151, 106, 234);
/* oklch */ color: oklch(63.0% 0.186 296.9);
Tailwind
colors: {
  custom: {
    50: '#ba96f1',
    500: '#976aea',
    950: '#000000',
  },
}
SCSS
$custom: #976aea;
$custom-light: #ba96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976aea",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 261.094,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62998,
    "c": 0.18633,
    "h": 296.9
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#976AEA
secondary
#DEEDC3
accent
#D70E91
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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