#976CC1#976CC1

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

Color values

HEX#976CC1
RGBrgb(151, 108, 193)
HSLhsl(270, 41%, 59%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(21.8%, 44%, 0%, 24.3%)
CIE-LABlab(53.12, 33.77, -38.22)
CIE-LCHlch(53.12, 51.00, 311.46°)
OKLaboklab(60.96% 0.0779 -0.1065)
OKLCHoklch(60.96% 0.132 306.2)
XYZxyz(27.7488, 21.1549, 53.0632)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CC1 #96C16C
analogous
#6D6CC1 #976CC1 #C16CC1
triadic
#976CC1 #C1976C #6CC197
tetradic
#976CC1 #C16D6C #96C16C #6CC1C1
square
#976CC1 #C16D6C #96C16C #6CC1C1
split-complementary
#976CC1 #C1C16C #6CC16D
monochromatic
#5A357E #7847A9 #976CC1 #B597D3 #D4C2E5

Accessibility & contrast

On white

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

On black

5.23
#976CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CC1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CC1#FFFFFF#000000##000000
##976CC11.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#577DC4
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#917A8D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976cc1;
/* rgb */ color: rgb(151, 108, 193);
/* oklch */ color: oklch(61.0% 0.132 306.2);
Tailwind
colors: {
  custom: {
    50: '#b797d4',
    500: '#976cc1',
    950: '#000000',
  },
}
SCSS
$custom: #976cc1;
$custom-light: #b797d4;
$custom-dark: #000000;
JSON
{
  "hex": "#976cc1",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 193
  },
  "hsl": {
    "h": 270.353,
    "s": 40.67,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60958,
    "c": 0.132,
    "h": 306.2
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#976CC1
secondary
#C4D5B4
accent
#D15793
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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