#976FB1#976FB1

#976FB1 is a mid, moderate violet. Relative luminance 0.211; OKLCH L 60.7% C 0.107 H 311.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#976FB1
RGBrgb(151, 111, 177)
HSLhsl(276, 30%, 56%)
HSVhsv(276, 37%, 69%)
CMYKcmyk(14.7%, 37.3%, 0%, 30.6%)
CIE-LABlab(53.08, 28.38, -29.06)
CIE-LCHlch(53.08, 40.62, 314.32°)
OKLaboklab(60.69% 0.0704 -0.0801)
OKLCHoklch(60.69% 0.107 311.3)
XYZxyz(26.3814, 21.1229, 44.2738)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FB1 #89B16F
analogous
#766FB1 #976FB1 #B16FAA
triadic
#976FB1 #B1976F #6FB197
tetradic
#976FB1 #B1766F #89B16F #6FAAB1
square
#976FB1 #B1766F #89B16F #6FAAB1
split-complementary
#976FB1 #AAB16F #6FB176
monochromatic
#583A6B #795093 #976FB1 #B497C7 #D0BEDC

Accessibility & contrast

On white

4.02
#976FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#976FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FB1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FB1#FFFFFF#000000##000000
##976FB11.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#6C80AF
Tritanopia (blue-blind)
#947888
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976fb1;
/* rgb */ color: rgb(151, 111, 177);
/* oklch */ color: oklch(60.7% 0.107 311.3);
Tailwind
colors: {
  custom: {
    50: '#b699c8',
    500: '#976fb1',
    950: '#000000',
  },
}
SCSS
$custom: #976fb1;
$custom-light: #b699c8;
$custom-dark: #000000;
JSON
{
  "hex": "#976fb1",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 177
  },
  "hsl": {
    "h": 276.364,
    "s": 29.73,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.10664,
    "h": 311.3
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#976FB1
secondary
#BBCBB0
accent
#C66289
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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