#976CCE#976CCE

#976CCE is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.7% C 0.148 H 302.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#976CCE
RGBrgb(151, 108, 206)
HSLhsl(266, 50%, 62%)
HSVhsv(266, 48%, 81%)
CMYKcmyk(26.7%, 47.6%, 0%, 19.2%)
CIE-LABlab(53.77, 36.88, -44.61)
CIE-LCHlch(53.77, 57.88, 309.58°)
OKLaboklab(61.66% 0.0798 -0.1251)
OKLCHoklch(61.66% 0.148 302.5)
XYZxyz(29.2632, 21.7607, 61.0391)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CCE #A3CE6C
analogous
#6C72CE #976CCE #C86CCE
triadic
#976CCE #CE976C #6CCE97
tetradic
#976CCE #CE6C72 #A3CE6C #6CCEC8
square
#976CCE #CE6C72 #A3CE6C #6CCEC8
split-complementary
#976CCE #CEC86C #72CE6C
monochromatic
#5A3090 #773FBE #976CCE #B79ADD #D8C8ED

Accessibility & contrast

On white

3.92
#976CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#976CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CCE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CCE#FFFFFF#000000##000000
##976CCE1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D1
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#8D7D93
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976cce;
/* rgb */ color: rgb(151, 108, 206);
/* oklch */ color: oklch(61.7% 0.148 302.5);
Tailwind
colors: {
  custom: {
    50: '#b897dd',
    500: '#976cce',
    950: '#000000',
  },
}
SCSS
$custom: #976cce;
$custom-light: #b897dd;
$custom-dark: #000000;
JSON
{
  "hex": "#976cce",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 266.327,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61661,
    "c": 0.14839,
    "h": 302.5
  },
  "luminance": 0.21761
}

Semantic roles & 50–950 ramp

primary
#976CCE
secondary
#CDDDB9
accent
#BD287C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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