#976FA9#976FA9

#976FA9 is a mid, moderate purple. Relative luminance 0.208; OKLCH L 60.3% C 0.097 H 315.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#976FA9
RGBrgb(151, 111, 169)
HSLhsl(281, 25%, 55%)
HSVhsv(281, 34%, 66%)
CMYKcmyk(10.7%, 34.3%, 0%, 33.7%)
CIE-LABlab(52.74, 26.62, -24.95)
CIE-LCHlch(52.74, 36.48, 316.86°)
OKLaboklab(60.32% 0.0684 -0.0684)
OKLCHoklch(60.32% 0.097 315)
XYZxyz(25.6073, 20.8133, 40.1968)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA9 #81A96F
analogous
#7A6FA9 #976FA9 #A96F9E
triadic
#976FA9 #A9976F #6FA997
tetradic
#976FA9 #A97A6F #81A96F #6F9EA9
square
#976FA9 #A97A6F #81A96F #6F9EA9
split-complementary
#976FA9 #9EA96F #6FA97A
monochromatic
#563B63 #785289 #976FA9 #B395C0 #CEBCD7

Accessibility & contrast

On white

4.07
#976FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#976FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA9#FFFFFF#000000##000000
##976FA91.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAB
Deuteranopia (green-blind)
#6F7FA7
Tritanopia (blue-blind)
#967684
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976fa9;
/* rgb */ color: rgb(151, 111, 169);
/* oklch */ color: oklch(60.3% 0.097 315.0);
Tailwind
colors: {
  custom: {
    50: '#b699c2',
    500: '#976fa9',
    950: '#000000',
  },
}
SCSS
$custom: #976fa9;
$custom-light: #b699c2;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa9",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 169
  },
  "hsl": {
    "h": 281.379,
    "s": 25.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.09674,
    "h": 315
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

primary
#976FA9
secondary
#B5C6AE
accent
#C26683
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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