#976CE9#976CE9

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

Color values

HEX#976CE9
RGBrgb(151, 108, 233)
HSLhsl(261, 74%, 67%)
HSVhsv(261, 54%, 91%)
CMYKcmyk(35.2%, 53.6%, 0%, 8.6%)
CIE-LABlab(55.26, 43.64, -57.47)
CIE-LCHlch(55.26, 72.16, 307.21°)
OKLaboklab(63.25% 0.0819 -0.1627)
OKLCHoklch(63.25% 0.182 296.7)
XYZxyz(32.8293, 23.1871, 79.8209)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CE9 #BEE96C
analogous
#6C80E9 #976CE9 #D66CE9
triadic
#976CE9 #E9976C #6CE997
tetradic
#976CE9 #E96C80 #BEE96C #6CE9D6
square
#976CE9 #E96C80 #BEE96C #6CE9D6
split-complementary
#976CE9 #E9D66C #80E96C
monochromatic
#541CBE #7137E1 #976CE9 #BDA1F1 #E2D6F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976CE9#FFFFFF#000000##000000
##976CE91.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)
#3785ED
Deuteranopia (green-blind)
#4483E6
Tritanopia (blue-blind)
#8485A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976ce9;
/* rgb */ color: rgb(151, 108, 233);
/* oklch */ color: oklch(63.3% 0.182 296.7);
Tailwind
colors: {
  custom: {
    50: '#ba97f1',
    500: '#976ce9',
    950: '#000000',
  },
}
SCSS
$custom: #976ce9;
$custom-light: #ba97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976ce9",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 233
  },
  "hsl": {
    "h": 260.64,
    "s": 73.964,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63253,
    "c": 0.18219,
    "h": 296.7
  },
  "luminance": 0.23188
}

Semantic roles & 50–950 ramp

primary
#976CE9
secondary
#DFECC4
accent
#D60F92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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