#976DA2#976DA2

#976DA2 is a mid, moderate purple. Relative luminance 0.201; OKLCH L 59.6% C 0.092 H 319.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#976DA2
RGBrgb(151, 109, 162)
HSLhsl(288, 22%, 53%)
HSVhsv(288, 33%, 64%)
CMYKcmyk(6.8%, 32.7%, 0%, 36.5%)
CIE-LABlab(51.98, 26.28, -22.05)
CIE-LCHlch(51.98, 34.31, 320.00°)
OKLaboklab(59.65% 0.0696 -0.0602)
OKLCHoklch(59.65% 0.092 319.2)
XYZxyz(24.7518, 20.1258, 36.7562)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DA2 #78A26D
analogous
#7C6DA2 #976DA2 #A26D92
triadic
#976DA2 #A2976D #6DA297
tetradic
#976DA2 #A27C6D #78A26D #6D92A2
square
#976DA2 #A27C6D #78A26D #6D92A2
split-complementary
#976DA2 #92A26D #6DA27C
monochromatic
#543A5B #775280 #976DA2 #B292BA #CCB8D2

Accessibility & contrast

On white

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

On black

5.03
#976DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DA2#FFFFFF#000000##000000
##976DA21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6679A4
Deuteranopia (green-blind)
#707DA0
Tritanopia (blue-blind)
#987380
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #976da2;
/* rgb */ color: rgb(151, 109, 162);
/* oklch */ color: oklch(59.6% 0.092 319.2);
Tailwind
colors: {
  custom: {
    50: '#b697bd',
    500: '#976da2',
    950: '#000000',
  },
}
SCSS
$custom: #976da2;
$custom-light: #b697bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976da2",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 287.547,
    "s": 22.176,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.09204,
    "h": 319.2
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#976DA2
secondary
#AFC1AA
accent
#BF697B
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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