#976AA2#976AA2

#976AA2 is a mid, moderate purple. Relative luminance 0.195; OKLCH L 59.1% C 0.098 H 319.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#976AA2
RGBrgb(151, 106, 162)
HSLhsl(288, 23%, 53%)
HSVhsv(288, 35%, 64%)
CMYKcmyk(6.8%, 34.6%, 0%, 36.5%)
CIE-LABlab(51.26, 28.01, -23.15)
CIE-LCHlch(51.26, 36.34, 320.42°)
OKLaboklab(59.1% 0.0743 -0.0633)
OKLCHoklch(59.1% 0.098 319.6)
XYZxyz(24.4373, 19.4967, 36.6514)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AA2 #75A26A
analogous
#7B6AA2 #976AA2 #A26A91
triadic
#976AA2 #A2976A #6AA297
tetradic
#976AA2 #A27B6A #75A26A #6A91A2
square
#976AA2 #A27B6A #75A26A #6A91A2
split-complementary
#976AA2 #91A26A #6AA27B
monochromatic
#53385A #764F7F #976AA2 #B190BA #CCB5D1

Accessibility & contrast

On white

4.29
#976AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#976AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AA2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AA2#FFFFFF#000000##000000
##976AA21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#98707F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #976aa2;
/* rgb */ color: rgb(151, 106, 162);
/* oklch */ color: oklch(59.1% 0.098 319.6);
Tailwind
colors: {
  custom: {
    50: '#b695bd',
    500: '#976aa2',
    950: '#000000',
  },
}
SCSS
$custom: #976aa2;
$custom-light: #b695bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976aa2",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 162
  },
  "hsl": {
    "h": 288.214,
    "s": 23.14,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.09762,
    "h": 319.6
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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