#976CB1#976CB1

#976CB1 is a mid, moderate violet. Relative luminance 0.205; OKLCH L 60.2% C 0.112 H 312.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#976CB1
RGBrgb(151, 108, 177)
HSLhsl(277, 31%, 56%)
HSVhsv(277, 39%, 69%)
CMYKcmyk(14.7%, 39%, 0%, 30.6%)
CIE-LABlab(52.37, 30.10, -30.16)
CIE-LCHlch(52.37, 42.61, 314.94°)
OKLaboklab(60.15% 0.0749 -0.0833)
OKLCHoklch(60.15% 0.112 312)
XYZxyz(26.0595, 20.4792, 44.1665)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CB1 #86B16C
analogous
#746CB1 #976CB1 #B16CA8
triadic
#976CB1 #B1976C #6CB197
tetradic
#976CB1 #B1746C #86B16C #6CA8B1
square
#976CB1 #B1746C #86B16C #6CA8B1
split-complementary
#976CB1 #A8B16C #6CB174
monochromatic
#57386A #784E92 #976CB1 #B394C6 #D0BCDB

Accessibility & contrast

On white

4.12
#976CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#976CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CB1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CB1#FFFFFF#000000##000000
##976CB11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#957686
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976cb1;
/* rgb */ color: rgb(151, 108, 177);
/* oklch */ color: oklch(60.2% 0.112 312.0);
Tailwind
colors: {
  custom: {
    50: '#b797c8',
    500: '#976cb1',
    950: '#000000',
  },
}
SCSS
$custom: #976cb1;
$custom-light: #b797c8;
$custom-dark: #000000;
JSON
{
  "hex": "#976cb1",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 177
  },
  "hsl": {
    "h": 277.391,
    "s": 30.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.11199,
    "h": 312
  },
  "luminance": 0.20479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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