#976CA2#976CA2

#976CA2 is a mid, moderate purple. Relative luminance 0.199; OKLCH L 59.5% C 0.094 H 319.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#976CA2
RGBrgb(151, 108, 162)
HSLhsl(288, 23%, 53%)
HSVhsv(288, 33%, 64%)
CMYKcmyk(6.8%, 33.3%, 0%, 36.5%)
CIE-LABlab(51.74, 26.86, -22.42)
CIE-LCHlch(51.74, 34.99, 320.15°)
OKLaboklab(59.46% 0.0712 -0.0612)
OKLCHoklch(59.46% 0.094 319.3)
XYZxyz(24.6458, 19.9137, 36.7209)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CA2 #77A26C
analogous
#7C6CA2 #976CA2 #A26C92
triadic
#976CA2 #A2976C #6CA297
tetradic
#976CA2 #A27C6C #77A26C #6C92A2
square
#976CA2 #A27C6C #77A26C #6C92A2
split-complementary
#976CA2 #92A26C #6CA27C
monochromatic
#54395A #765180 #976CA2 #B291BA #CCB7D1

Accessibility & contrast

On white

4.21
#976CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#976CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CA2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CA2#FFFFFF#000000##000000
##976CA21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#6F7DA0
Tritanopia (blue-blind)
#987280
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #976ca2;
/* rgb */ color: rgb(151, 108, 162);
/* oklch */ color: oklch(59.5% 0.094 319.3);
Tailwind
colors: {
  custom: {
    50: '#b696bd',
    500: '#976ca2',
    950: '#000000',
  },
}
SCSS
$custom: #976ca2;
$custom-light: #b696bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ca2",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 162
  },
  "hsl": {
    "h": 287.778,
    "s": 22.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59464,
    "c": 0.0939,
    "h": 319.3
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#976CA2
secondary
#AEC1A9
accent
#BF697A
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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