#976EE2#976EE2

#976EE2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.170 H 297.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#976EE2
RGBrgb(151, 110, 226)
HSLhsl(261, 67%, 66%)
HSVhsv(261, 51%, 89%)
CMYKcmyk(33.2%, 51.3%, 0%, 11.4%)
CIE-LABlab(55.30, 40.73, -53.49)
CIE-LCHlch(55.30, 67.23, 307.29°)
OKLaboklab(63.15% 0.0791 -0.151)
OKLCHoklch(63.15% 0.17 297.6)
XYZxyz(32.0625, 23.2218, 74.7298)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EE2 #B9E26E
analogous
#6E7FE2 #976EE2 #D16EE2
triadic
#976EE2 #E2976E #6EE297
tetradic
#976EE2 #E26E7F #B9E26E #6EE2D1
square
#976EE2 #E26E7F #B9E26E #6EE2D1
split-complementary
#976EE2 #E2D16E #7FE26E
monochromatic
#5624B2 #723BD8 #976EE2 #BCA1EC #E0D4F6

Accessibility & contrast

On white

3.72
#976EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#976EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EE2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EE2#FFFFFF#000000##000000
##976EE21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#4D83DF
Tritanopia (blue-blind)
#87859E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976ee2;
/* rgb */ color: rgb(151, 110, 226);
/* oklch */ color: oklch(63.1% 0.170 297.6);
Tailwind
colors: {
  custom: {
    50: '#b998ec',
    500: '#976ee2',
    950: '#000000',
  },
}
SCSS
$custom: #976ee2;
$custom-light: #b998ec;
$custom-dark: #000000;
JSON
{
  "hex": "#976ee2",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 261.207,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.17048,
    "h": 297.6
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#976EE2
secondary
#DCE9C3
accent
#CF178E
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #976EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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