#976AE6#976AE6

#976AE6 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.7% C 0.181 H 297.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#976AE6
RGBrgb(151, 106, 230)
HSLhsl(262, 71%, 66%)
HSVhsv(262, 54%, 90%)
CMYKcmyk(34.3%, 53.9%, 0%, 9.8%)
CIE-LABlab(54.66, 43.98, -56.76)
CIE-LCHlch(54.66, 71.80, 307.77°)
OKLaboklab(62.75% 0.0843 -0.1606)
OKLCHoklch(62.75% 0.181 297.7)
XYZxyz(32.1959, 22.6001, 77.5136)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AE6 #B9E66A
analogous
#6A7BE6 #976AE6 #D56AE6
triadic
#976AE6 #E6976A #6AE697
tetradic
#976AE6 #E66A7B #B9E66A #6AE6D5
square
#976AE6 #E66A7B #B9E66A #6AE6D5
split-complementary
#976AE6 #E6D56A #7BE66A
monochromatic
#561FB7 #7236DD #976AE6 #BC9EEF #E0D3F8

Accessibility & contrast

On white

3.80
#976AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#976AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AE6
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AE6#FFFFFF#000000##000000
##976AE61.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683EA
Deuteranopia (green-blind)
#4481E3
Tritanopia (blue-blind)
#85839E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #976ae6;
/* rgb */ color: rgb(151, 106, 230);
/* oklch */ color: oklch(62.7% 0.181 297.7);
Tailwind
colors: {
  custom: {
    50: '#b996ee',
    500: '#976ae6',
    950: '#000000',
  },
}
SCSS
$custom: #976ae6;
$custom-light: #b996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#976ae6",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 261.774,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62748,
    "c": 0.18142,
    "h": 297.7
  },
  "luminance": 0.22601
}

Semantic roles & 50–950 ramp

primary
#976AE6
secondary
#DCEAC1
accent
#D3128D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #976AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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