#976AAA#976AAA

#976AAA is a mid, moderate purple. Relative luminance 0.198; OKLCH L 59.5% C 0.107 H 315.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#976AAA
RGBrgb(151, 106, 170)
HSLhsl(282, 27%, 54%)
HSVhsv(282, 38%, 67%)
CMYKcmyk(11.2%, 37.6%, 0%, 33.3%)
CIE-LABlab(51.60, 29.71, -27.30)
CIE-LCHlch(51.60, 40.35, 317.42°)
OKLaboklab(59.47% 0.0763 -0.0751)
OKLCHoklch(59.47% 0.107 315.5)
XYZxyz(25.1711, 19.7902, 40.5163)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AAA #7DAA6A
analogous
#776AAA #976AAA #AA6A9D
triadic
#976AAA #AA976A #6AAA97
tetradic
#976AAA #AA776A #7DAA6A #6A9DAA
square
#976AAA #AA776A #7DAA6A #6A9DAA
split-complementary
#976AAA #9DAA6A #6AAA77
monochromatic
#553862 #774E89 #976AAA #B291C0 #CDB8D6

Accessibility & contrast

On white

4.24
#976AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#976AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AAA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AAA#FFFFFF#000000##000000
##976AAA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AC
Deuteranopia (green-blind)
#6B7CA8
Tritanopia (blue-blind)
#967282
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #976aaa;
/* rgb */ color: rgb(151, 106, 170);
/* oklch */ color: oklch(59.5% 0.107 315.5);
Tailwind
colors: {
  custom: {
    50: '#b695c3',
    500: '#976aaa',
    950: '#000000',
  },
}
SCSS
$custom: #976aaa;
$custom-light: #b695c3;
$custom-dark: #000000;
JSON
{
  "hex": "#976aaa",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 282.188,
    "s": 27.35,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59467,
    "c": 0.10707,
    "h": 315.5
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#976AAA
secondary
#B2C6AA
accent
#C46480
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D12
muted
#807E81

Preview Lab

Preview with #976AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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