#976BA2#976BA2

#976BA2 is a mid, moderate purple. Relative luminance 0.197; OKLCH L 59.3% C 0.096 H 319.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#976BA2
RGBrgb(151, 107, 162)
HSLhsl(288, 23%, 53%)
HSVhsv(288, 34%, 64%)
CMYKcmyk(6.8%, 34%, 0%, 36.5%)
CIE-LABlab(51.50, 27.43, -22.79)
CIE-LCHlch(51.50, 35.66, 320.29°)
OKLaboklab(59.28% 0.0728 -0.0622)
OKLCHoklch(59.28% 0.096 319.5)
XYZxyz(24.5409, 19.7040, 36.6859)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BA2 #76A26B
analogous
#7B6BA2 #976BA2 #A26B91
triadic
#976BA2 #A2976B #6BA297
tetradic
#976BA2 #A27B6B #76A26B #6B91A2
square
#976BA2 #A27B6B #76A26B #6B91A2
split-complementary
#976BA2 #91A26B #6BA27B
monochromatic
#53395A #765080 #976BA2 #B191BA #CCB6D1

Accessibility & contrast

On white

4.25
#976BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#976BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BA2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BA2#FFFFFF#000000##000000
##976BA21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6478A4
Deuteranopia (green-blind)
#6F7CA0
Tritanopia (blue-blind)
#98717F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #976ba2;
/* rgb */ color: rgb(151, 107, 162);
/* oklch */ color: oklch(59.3% 0.096 319.5);
Tailwind
colors: {
  custom: {
    50: '#b696bd',
    500: '#976ba2',
    950: '#000000',
  },
}
SCSS
$custom: #976ba2;
$custom-light: #b696bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976ba2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 162
  },
  "hsl": {
    "h": 288,
    "s": 22.822,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.09576,
    "h": 319.5
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#976BA2
secondary
#ADC0A8
accent
#BF687A
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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