#976CA7#976CA7

#976CA7 is a mid, moderate purple. Relative luminance 0.201; OKLCH L 59.7% C 0.100 H 316.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#976CA7
RGBrgb(151, 108, 167)
HSLhsl(284, 25%, 54%)
HSVhsv(284, 35%, 65%)
CMYKcmyk(9.6%, 35.3%, 0%, 34.5%)
CIE-LABlab(51.94, 27.92, -25.02)
CIE-LCHlch(51.94, 37.49, 318.13°)
OKLaboklab(59.69% 0.0725 -0.0686)
OKLCHoklch(59.69% 0.1 316.6)
XYZxyz(25.0991, 20.0950, 39.1083)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CA7 #7CA76C
analogous
#7A6CA7 #976CA7 #A76C9A
triadic
#976CA7 #A7976C #6CA797
tetradic
#976CA7 #A77A6C #7CA76C #6C9AA7
square
#976CA7 #A77A6C #7CA76C #6C9AA7
split-complementary
#976CA7 #9AA76C #6CA77A
monochromatic
#55395F #775086 #976CA7 #B292BE #CDB9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976CA7#FFFFFF#000000##000000
##976CA71.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)
#6379A9
Deuteranopia (green-blind)
#6E7DA5
Tritanopia (blue-blind)
#977382
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976ca7;
/* rgb */ color: rgb(151, 108, 167);
/* oklch */ color: oklch(59.7% 0.100 316.6);
Tailwind
colors: {
  custom: {
    50: '#b696c1',
    500: '#976ca7',
    950: '#000000',
  },
}
SCSS
$custom: #976ca7;
$custom-light: #b696c1;
$custom-dark: #000000;
JSON
{
  "hex": "#976ca7",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 167
  },
  "hsl": {
    "h": 283.729,
    "s": 25.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59687,
    "c": 0.09982,
    "h": 316.6
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#976CA7
secondary
#B2C4AB
accent
#C2667F
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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