#976AEF#976AEF

#976AEF is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.3% C 0.192 H 296.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#976AEF
RGBrgb(151, 106, 239)
HSLhsl(260, 81%, 68%)
HSVhsv(260, 56%, 94%)
CMYKcmyk(36.8%, 55.6%, 0%, 6.3%)
CIE-LABlab(55.19, 46.29, -60.93)
CIE-LCHlch(55.19, 76.52, 307.22°)
OKLaboklab(63.32% 0.0845 -0.1729)
OKLCHoklch(63.32% 0.192 296.1)
XYZxyz(33.4925, 23.1188, 84.3424)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AEF #C2EF6A
analogous
#6A7FEF #976AEF #DA6AEF
triadic
#976AEF #EF976A #6AEF97
tetradic
#976AEF #EF6A7F #C2EF6A #6AEFDA
square
#976AEF #EF6A7F #C2EF6A #6AEFDA
split-complementary
#976AEF #EFDA6A #7FEF6A
monochromatic
#5216C9 #7033E9 #976AEF #BEA1F5 #E4D9FB

Accessibility & contrast

On white

3.73
#976AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#976AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AEF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AEF#FFFFFF#000000##000000
##976AEF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#8286A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976aef;
/* rgb */ color: rgb(151, 106, 239);
/* oklch */ color: oklch(63.3% 0.192 296.1);
Tailwind
colors: {
  custom: {
    50: '#ba96f5',
    500: '#976aef',
    950: '#000000',
  },
}
SCSS
$custom: #976aef;
$custom-light: #ba96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#976aef",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 260.301,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.63316,
    "c": 0.19244,
    "h": 296.1
  },
  "luminance": 0.23119
}

Semantic roles & 50–950 ramp

primary
#976AEF
secondary
#E1EFC6
accent
#DD0995
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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