#976EEA#976EEA

#976EEA is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.6% C 0.181 H 296.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#976EEA
RGBrgb(151, 110, 234)
HSLhsl(260, 75%, 67%)
HSVhsv(260, 53%, 92%)
CMYKcmyk(35.5%, 53%, 0%, 8.2%)
CIE-LABlab(55.76, 42.78, -57.24)
CIE-LCHlch(55.76, 71.46, 306.78°)
OKLaboklab(63.64% 0.0795 -0.162)
OKLCHoklch(63.64% 0.181 296.1)
XYZxyz(33.1859, 23.6711, 80.6465)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EEA #C1EA6E
analogous
#6E83EA #976EEA #D56EEA
triadic
#976EEA #EA976E #6EEA97
tetradic
#976EEA #EA6E83 #C1EA6E #6EEAD5
square
#976EEA #EA6E83 #C1EA6E #6EEAD5
split-complementary
#976EEA #EAD56E #83EA6E
monochromatic
#531CC2 #7139E2 #976EEA #BDA3F2 #E4D9F9

Accessibility & contrast

On white

3.66
#976EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#976EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EEA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EEA#FFFFFF#000000##000000
##976EEA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#4584E7
Tritanopia (blue-blind)
#8487A2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #976eea;
/* rgb */ color: rgb(151, 110, 234);
/* oklch */ color: oklch(63.6% 0.181 296.1);
Tailwind
colors: {
  custom: {
    50: '#ba99f1',
    500: '#976eea',
    950: '#000000',
  },
}
SCSS
$custom: #976eea;
$custom-light: #ba99f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976eea",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 259.839,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63636,
    "c": 0.18051,
    "h": 296.1
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#976EEA
secondary
#E0EDC7
accent
#D70F95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #976EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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