#976EA2#976EA2

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

Color values

HEX#976EA2
RGBrgb(151, 110, 162)
HSLhsl(287, 22%, 53%)
HSVhsv(287, 32%, 64%)
CMYKcmyk(6.8%, 32.1%, 0%, 36.5%)
CIE-LABlab(52.22, 25.70, -21.68)
CIE-LCHlch(52.22, 33.63, 319.85°)
OKLaboklab(59.83% 0.0681 -0.0591)
OKLCHoklch(59.83% 0.09 319)
XYZxyz(24.8591, 20.3404, 36.7920)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA2 #79A26E
analogous
#7D6EA2 #976EA2 #A26E93
triadic
#976EA2 #A2976E #6EA297
tetradic
#976EA2 #A27D6E #79A26E #6E93A2
square
#976EA2 #A27D6E #79A26E #6E93A2
split-complementary
#976EA2 #93A26E #6EA27D
monochromatic
#543A5B #775280 #976EA2 #B293BA #CCB9D2

Accessibility & contrast

On white

4.14
#976EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#976EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EA2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EA2#FFFFFF#000000##000000
##976EA21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#717EA0
Tritanopia (blue-blind)
#987481
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea2;
/* rgb */ color: rgb(151, 110, 162);
/* oklch */ color: oklch(59.8% 0.090 319.0);
Tailwind
colors: {
  custom: {
    50: '#b698bd',
    500: '#976ea2',
    950: '#000000',
  },
}
SCSS
$custom: #976ea2;
$custom-light: #b698bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea2",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 287.308,
    "s": 21.849,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59829,
    "c": 0.09018,
    "h": 319
  },
  "luminance": 0.2034
}

Semantic roles & 50–950 ramp

primary
#976EA2
secondary
#AFC1AB
accent
#BE697B
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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