#976EA1#976EA1

#976EA1 is a mid, moderate purple. Relative luminance 0.203; OKLCH L 59.8% C 0.089 H 319.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#976EA1
RGBrgb(151, 110, 161)
HSLhsl(288, 21%, 53%)
HSVhsv(288, 32%, 63%)
CMYKcmyk(6.2%, 31.7%, 0%, 36.9%)
CIE-LABlab(52.18, 25.50, -21.16)
CIE-LCHlch(52.18, 33.13, 320.31°)
OKLaboklab(59.79% 0.0678 -0.0577)
OKLCHoklch(59.79% 0.089 319.6)
XYZxyz(24.7706, 20.3050, 36.3257)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA1 #78A16E
analogous
#7D6EA1 #976EA1 #A16E91
triadic
#976EA1 #A1976E #6EA197
tetradic
#976EA1 #A17D6E #78A16E #6E91A1
square
#976EA1 #A17D6E #78A16E #6E91A1
split-complementary
#976EA1 #91A16E #6EA17D
monochromatic
#543A5A #77537F #976EA1 #B293B9 #CCB8D1

Accessibility & contrast

On white

4.15
#976EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#976EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EA1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EA1#FFFFFF#000000##000000
##976EA11.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA3
Deuteranopia (green-blind)
#717E9F
Tritanopia (blue-blind)
#987480
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976ea1;
/* rgb */ color: rgb(151, 110, 161);
/* oklch */ color: oklch(59.8% 0.089 319.6);
Tailwind
colors: {
  custom: {
    50: '#b698bd',
    500: '#976ea1',
    950: '#000000',
  },
}
SCSS
$custom: #976ea1;
$custom-light: #b698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea1",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 161
  },
  "hsl": {
    "h": 288.235,
    "s": 21.339,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.089,
    "h": 319.6
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#976EA1
secondary
#AFC0AA
accent
#BE6A7A
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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