#976FA2#976FA2

#976FA2 is a mid, moderate purple. Relative luminance 0.206; OKLCH L 60.0% C 0.088 H 318.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#976FA2
RGBrgb(151, 111, 162)
HSLhsl(287, 22%, 54%)
HSVhsv(287, 31%, 64%)
CMYKcmyk(6.8%, 31.5%, 0%, 36.5%)
CIE-LABlab(52.46, 25.13, -21.31)
CIE-LCHlch(52.46, 32.95, 319.70°)
OKLaboklab(60.01% 0.0665 -0.0581)
OKLCHoklch(60.01% 0.088 318.9)
XYZxyz(24.9676, 20.5574, 36.8281)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA2 #7AA26F
analogous
#7D6FA2 #976FA2 #A26F93
triadic
#976FA2 #A2976F #6FA297
tetradic
#976FA2 #A27D6F #7AA26F #6F93A2
square
#976FA2 #A27D6F #7AA26F #6F93A2
split-complementary
#976FA2 #93A26F #6FA27D
monochromatic
#553B5C #775381 #976FA2 #B294BA #CDB9D2

Accessibility & contrast

On white

4.11
#976FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#976FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA2#FFFFFF#000000##000000
##976FA21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697AA4
Deuteranopia (green-blind)
#727FA0
Tritanopia (blue-blind)
#987581
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976fa2;
/* rgb */ color: rgb(151, 111, 162);
/* oklch */ color: oklch(60.0% 0.088 318.9);
Tailwind
colors: {
  custom: {
    50: '#b699bd',
    500: '#976fa2',
    950: '#000000',
  },
}
SCSS
$custom: #976fa2;
$custom-light: #b699bd;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa2",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 162
  },
  "hsl": {
    "h": 287.059,
    "s": 21.519,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.08831,
    "h": 318.9
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

primary
#976FA2
secondary
#B0C1AB
accent
#BE6A7C
background
#FBF9FB
surface
#F6F2F6
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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