#976EA4#976EA4

#976EA4 is a mid, moderate purple. Relative luminance 0.204; OKLCH L 59.9% C 0.093 H 317.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#976EA4
RGBrgb(151, 110, 164)
HSLhsl(286, 23%, 54%)
HSVhsv(286, 33%, 64%)
CMYKcmyk(7.9%, 32.9%, 0%, 35.7%)
CIE-LABlab(52.30, 26.13, -22.73)
CIE-LCHlch(52.30, 34.63, 318.98°)
OKLaboklab(59.92% 0.0686 -0.0621)
OKLCHoklch(59.92% 0.093 317.9)
XYZxyz(25.0383, 20.4121, 37.7357)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA4 #7BA46E
analogous
#7C6EA4 #976EA4 #A46E96
triadic
#976EA4 #A4976E #6EA497
tetradic
#976EA4 #A47C6E #7BA46E #6E96A4
square
#976EA4 #A47C6E #7BA46E #6E96A4
split-complementary
#976EA4 #96A46E #6EA47C
monochromatic
#553A5D #775283 #976EA4 #B294BC #CDB9D3

Accessibility & contrast

On white

4.13
#976EA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#976EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EA4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EA4#FFFFFF#000000##000000
##976EA41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677AA6
Deuteranopia (green-blind)
#707EA2
Tritanopia (blue-blind)
#977482
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea4;
/* rgb */ color: rgb(151, 110, 164);
/* oklch */ color: oklch(59.9% 0.093 317.9);
Tailwind
colors: {
  custom: {
    50: '#b698bf',
    500: '#976ea4',
    950: '#000000',
  },
}
SCSS
$custom: #976ea4;
$custom-light: #b698bf;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea4",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 285.556,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.09254,
    "h": 317.9
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#976EA4
secondary
#B1C2AB
accent
#BF687D
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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