#976AE5#976AE5

#976AE5 is a light, vivid violet. Relative luminance 0.225; OKLCH L 62.7% C 0.180 H 297.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#976AE5
RGBrgb(151, 106, 229)
HSLhsl(262, 70%, 66%)
HSVhsv(262, 54%, 90%)
CMYKcmyk(34.1%, 53.7%, 0%, 10.2%)
CIE-LABlab(54.60, 43.73, -56.29)
CIE-LCHlch(54.60, 71.28, 307.84°)
OKLaboklab(62.69% 0.0843 -0.1593)
OKLCHoklch(62.69% 0.18 297.9)
XYZxyz(32.0559, 22.5441, 76.7761)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AE5 #B8E56A
analogous
#6A7AE5 #976AE5 #D46AE5
triadic
#976AE5 #E5976A #6AE597
tetradic
#976AE5 #E56A7A #B8E56A #6AE5D4
square
#976AE5 #E56A7A #B8E56A #6AE5D4
split-complementary
#976AE5 #E5D46A #7AE56A
monochromatic
#5620B5 #7336DC #976AE5 #BB9EEE #E0D2F7

Accessibility & contrast

On white

3.81
#976AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#976AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AE5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AE5#FFFFFF#000000##000000
##976AE51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783E9
Deuteranopia (green-blind)
#4581E2
Tritanopia (blue-blind)
#86839D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976ae5;
/* rgb */ color: rgb(151, 106, 229);
/* oklch */ color: oklch(62.7% 0.180 297.9);
Tailwind
colors: {
  custom: {
    50: '#b996ee',
    500: '#976ae5',
    950: '#000000',
  },
}
SCSS
$custom: #976ae5;
$custom-light: #b996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#976ae5",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 261.951,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62686,
    "c": 0.18019,
    "h": 297.9
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#976AE5
secondary
#DBEAC1
accent
#D2138C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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