#976BB2#976BB2

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

Color values

HEX#976BB2
RGBrgb(151, 107, 178)
HSLhsl(277, 32%, 56%)
HSVhsv(277, 40%, 70%)
CMYKcmyk(15.2%, 39.9%, 0%, 30.2%)
CIE-LABlab(52.19, 30.90, -31.04)
CIE-LCHlch(52.19, 43.80, 314.87°)
OKLaboklab(60.03% 0.0766 -0.0858)
OKLCHoklch(60.03% 0.115 311.8)
XYZxyz(26.0547, 20.3095, 44.6584)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB2 #86B26B
analogous
#736BB2 #976BB2 #B26BA9
triadic
#976BB2 #B2976B #6BB297
tetradic
#976BB2 #B2736B #86B26B #6BA9B2
square
#976BB2 #B2736B #86B26B #6BA9B2
split-complementary
#976BB2 #A9B26B #6BB273
monochromatic
#57386B #784D93 #976BB2 #B393C7 #D0BCDC

Accessibility & contrast

On white

4.15
#976BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#976BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BB2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BB2#FFFFFF#000000##000000
##976BB21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#687DB0
Tritanopia (blue-blind)
#947586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976bb2;
/* rgb */ color: rgb(151, 107, 178);
/* oklch */ color: oklch(60.0% 0.115 311.8);
Tailwind
colors: {
  custom: {
    50: '#b796c9',
    500: '#976bb2',
    950: '#000000',
  },
}
SCSS
$custom: #976bb2;
$custom-light: #b796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 277.183,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.115,
    "h": 311.8
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#976BB2
secondary
#B9CBAE
accent
#C86087
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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