#976AB2#976AB2

#976AB2 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.9% C 0.117 H 312.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#976AB2
RGBrgb(151, 106, 178)
HSLhsl(278, 32%, 56%)
HSVhsv(278, 40%, 70%)
CMYKcmyk(15.2%, 40.4%, 0%, 30.2%)
CIE-LABlab(51.95, 31.47, -31.40)
CIE-LCHlch(51.95, 44.46, 315.07°)
OKLaboklab(59.85% 0.0781 -0.0868)
OKLCHoklch(59.85% 0.117 312)
XYZxyz(25.9510, 20.1022, 44.6239)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AB2 #85B26A
analogous
#736AB2 #976AB2 #B26AA9
triadic
#976AB2 #B2976A #6AB297
tetradic
#976AB2 #B2736A #85B26A #6AA9B2
square
#976AB2 #B2736A #85B26A #6AA9B2
split-complementary
#976AB2 #A9B26A #6AB273
monochromatic
#57376B #784C93 #976AB2 #B392C7 #CFBBDC

Accessibility & contrast

On white

4.18
#976AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#976AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AB2#FFFFFF#000000##000000
##976AB21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#947485
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976ab2;
/* rgb */ color: rgb(151, 106, 178);
/* oklch */ color: oklch(59.9% 0.117 312.0);
Tailwind
colors: {
  custom: {
    50: '#b795c9',
    500: '#976ab2',
    950: '#000000',
  },
}
SCSS
$custom: #976ab2;
$custom-light: #b795c9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ab2",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 178
  },
  "hsl": {
    "h": 277.5,
    "s": 31.858,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.11677,
    "h": 312
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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