#976CEA#976CEA

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

Color values

HEX#976CEA
RGBrgb(151, 108, 234)
HSLhsl(260, 75%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(35.5%, 53.8%, 0%, 8.2%)
CIE-LABlab(55.32, 43.90, -57.93)
CIE-LCHlch(55.32, 72.68, 307.15°)
OKLaboklab(63.32% 0.082 -0.1641)
OKLCHoklch(63.32% 0.183 296.5)
XYZxyz(32.9726, 23.2444, 80.5754)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CEA #BFEA6C
analogous
#6C80EA #976CEA #D66CEA
triadic
#976CEA #EA976C #6CEA97
tetradic
#976CEA #EA6C80 #BFEA6C #6CEAD6
square
#976CEA #EA6C80 #BFEA6C #6CEAD6
split-complementary
#976CEA #EAD66C #80EA6C
monochromatic
#541BC0 #7136E2 #976CEA #BDA2F2 #E3D7F9

Accessibility & contrast

On white

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

On black

5.65
#976CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CEA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CEA#FFFFFF#000000##000000
##976CEA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#4283E7
Tritanopia (blue-blind)
#8486A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #976cea;
/* rgb */ color: rgb(151, 108, 234);
/* oklch */ color: oklch(63.3% 0.183 296.5);
Tailwind
colors: {
  custom: {
    50: '#ba97f1',
    500: '#976cea',
    950: '#000000',
  },
}
SCSS
$custom: #976cea;
$custom-light: #ba97f1;
$custom-dark: #000000;
JSON
{
  "hex": "#976cea",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 260.476,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.18342,
    "h": 296.5
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#976CEA
secondary
#DFEDC5
accent
#D70E93
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #976CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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