#976BB1#976BB1

#976BB1 is a mid, moderate violet. Relative luminance 0.203; OKLCH L 60.0% C 0.114 H 312.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#976BB1
RGBrgb(151, 107, 177)
HSLhsl(278, 31%, 56%)
HSVhsv(278, 40%, 69%)
CMYKcmyk(14.7%, 39.5%, 0%, 30.6%)
CIE-LABlab(52.14, 30.68, -30.53)
CIE-LCHlch(52.14, 43.28, 315.14°)
OKLaboklab(59.98% 0.0764 -0.0843)
OKLCHoklch(59.98% 0.114 312.2)
XYZxyz(25.9547, 20.2695, 44.1316)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB1 #85B16B
analogous
#746BB1 #976BB1 #B16BA8
triadic
#976BB1 #B1976B #6BB197
tetradic
#976BB1 #B1746B #85B16B #6BA8B1
square
#976BB1 #B1746B #85B16B #6BA8B1
split-complementary
#976BB1 #A8B16B #6BB174
monochromatic
#57386A #784D92 #976BB1 #B393C6 #CFBBDB

Accessibility & contrast

On white

4.16
#976BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#976BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BB1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BB1#FFFFFF#000000##000000
##976BB11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB4
Deuteranopia (green-blind)
#697DAF
Tritanopia (blue-blind)
#957586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976bb1;
/* rgb */ color: rgb(151, 107, 177);
/* oklch */ color: oklch(60.0% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#b796c8',
    500: '#976bb1',
    950: '#000000',
  },
}
SCSS
$custom: #976bb1;
$custom-light: #b796c8;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb1",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 277.714,
    "s": 30.973,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59977,
    "c": 0.11377,
    "h": 312.2
  },
  "luminance": 0.20269
}

Semantic roles & 50–950 ramp

primary
#976BB1
secondary
#B8CAAD
accent
#C76187
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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