#976CC2#976CC2

#976CC2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.0% C 0.133 H 305.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#976CC2
RGBrgb(151, 108, 194)
HSLhsl(270, 41%, 59%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(22.2%, 44.3%, 0%, 23.9%)
CIE-LABlab(53.17, 34.00, -38.72)
CIE-LCHlch(53.17, 51.53, 311.29°)
OKLaboklab(61.01% 0.0781 -0.108)
OKLCHoklch(61.01% 0.133 305.9)
XYZxyz(27.8607, 21.1997, 53.6527)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CC2 #97C26C
analogous
#6C6CC2 #976CC2 #C26CC2
triadic
#976CC2 #C2976C #6CC297
tetradic
#976CC2 #C26C6C #97C26C #6CC2C2
square
#976CC2 #C26C6C #97C26C #6CC2C2
split-complementary
#976CC2 #C2C26C #6CC26C
monochromatic
#5A357F #7847AA #976CC2 #B697D4 #D4C3E6

Accessibility & contrast

On white

4.01
#976CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#976CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CC2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CC2#FFFFFF#000000##000000
##976CC21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#617FC0
Tritanopia (blue-blind)
#907A8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976cc2;
/* rgb */ color: rgb(151, 108, 194);
/* oklch */ color: oklch(61.0% 0.133 305.9);
Tailwind
colors: {
  custom: {
    50: '#b797d5',
    500: '#976cc2',
    950: '#000000',
  },
}
SCSS
$custom: #976cc2;
$custom-light: #b797d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976cc2",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 41.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6101,
    "c": 0.13326,
    "h": 305.9
  },
  "luminance": 0.21199
}

Semantic roles & 50–950 ramp

primary
#976CC2
secondary
#C5D6B4
accent
#D15794
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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