#976AF0#976AF0

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

Color values

HEX#976AF0
RGBrgb(151, 106, 240)
HSLhsl(260, 82%, 68%)
HSVhsv(260, 56%, 94%)
CMYKcmyk(37.1%, 55.8%, 0%, 5.9%)
CIE-LABlab(55.26, 46.55, -61.39)
CIE-LCHlch(55.26, 77.04, 307.17°)
OKLaboklab(63.38% 0.0845 -0.1742)
OKLCHoklch(63.38% 0.194 295.9)
XYZxyz(33.6407, 23.1780, 85.1226)
Luminance0.2318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AF0 #C3F06A
analogous
#6A80F0 #976AF0 #DA6AF0
triadic
#976AF0 #F0976A #6AF097
tetradic
#976AF0 #F06A80 #C3F06A #6AF0DA
square
#976AF0 #F06A80 #C3F06A #6AF0DA
split-complementary
#976AF0 #F0DA6A #80F06A
monochromatic
#5214CB #7032EA #976AF0 #BEA2F6 #E5D9FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976AF0#FFFFFF#000000##000000
##976AF01.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#3882ED
Tritanopia (blue-blind)
#8286A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976af0;
/* rgb */ color: rgb(151, 106, 240);
/* oklch */ color: oklch(63.4% 0.194 295.9);
Tailwind
colors: {
  custom: {
    50: '#ba96f6',
    500: '#976af0',
    950: '#000000',
  },
}
SCSS
$custom: #976af0;
$custom-light: #ba96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#976af0",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 240
  },
  "hsl": {
    "h": 260.149,
    "s": 81.707,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6338,
    "c": 0.19366,
    "h": 295.9
  },
  "luminance": 0.23179
}

Semantic roles & 50–950 ramp

primary
#976AF0
secondary
#E2F0C6
accent
#DE0796
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #976AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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