#976BC1#976BC1

#976BC1 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.134 H 306.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#976BC1
RGBrgb(151, 107, 193)
HSLhsl(271, 41%, 59%)
HSVhsv(271, 45%, 76%)
CMYKcmyk(21.8%, 44.6%, 0%, 24.3%)
CIE-LABlab(52.89, 34.34, -38.58)
CIE-LCHlch(52.89, 51.65, 311.67°)
OKLaboklab(60.79% 0.0794 -0.1076)
OKLCHoklch(60.79% 0.134 306.4)
XYZxyz(27.6439, 20.9452, 53.0282)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BC1 #95C16B
analogous
#6C6BC1 #976BC1 #C16BC0
triadic
#976BC1 #C1976B #6BC197
tetradic
#976BC1 #C16C6B #95C16B #6BC0C1
square
#976BC1 #C16C6B #95C16B #6BC0C1
split-complementary
#976BC1 #C0C16B #6BC16C
monochromatic
#5A347D #7947A8 #976BC1 #B596D3 #D4C1E5

Accessibility & contrast

On white

4.05
#976BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#976BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BC1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BC1#FFFFFF#000000##000000
##976BC11.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567DC4
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#91798D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976bc1;
/* rgb */ color: rgb(151, 107, 193);
/* oklch */ color: oklch(60.8% 0.134 306.4);
Tailwind
colors: {
  custom: {
    50: '#b796d4',
    500: '#976bc1',
    950: '#000000',
  },
}
SCSS
$custom: #976bc1;
$custom-light: #b796d4;
$custom-dark: #000000;
JSON
{
  "hex": "#976bc1",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 193
  },
  "hsl": {
    "h": 270.698,
    "s": 40.952,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.13368,
    "h": 306.4
  },
  "luminance": 0.20945
}

Semantic roles & 50–950 ramp

primary
#976BC1
secondary
#C4D5B3
accent
#D15792
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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