#976FA5#976FA5

#976FA5 is a mid, moderate purple. Relative luminance 0.207; OKLCH L 60.1% C 0.092 H 317.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#976FA5
RGBrgb(151, 111, 165)
HSLhsl(284, 23%, 54%)
HSVhsv(284, 33%, 65%)
CMYKcmyk(8.5%, 32.7%, 0%, 35.3%)
CIE-LABlab(52.58, 25.76, -22.88)
CIE-LCHlch(52.58, 34.45, 318.40°)
OKLaboklab(60.14% 0.0673 -0.0625)
OKLCHoklch(60.14% 0.092 317.1)
XYZxyz(25.2375, 20.6654, 38.2494)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA5 #7DA56F
analogous
#7C6FA5 #976FA5 #A56F98
triadic
#976FA5 #A5976F #6FA597
tetradic
#976FA5 #A57C6F #7DA56F #6F98A5
square
#976FA5 #A57C6F #7DA56F #6F98A5
split-complementary
#976FA5 #98A56F #6FA57C
monochromatic
#553B5F #775384 #976FA5 #B295BD #CDBAD4

Accessibility & contrast

On white

4.09
#976FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#976FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA5#FFFFFF#000000##000000
##976FA51.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#717FA3
Tritanopia (blue-blind)
#977583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976fa5;
/* rgb */ color: rgb(151, 111, 165);
/* oklch */ color: oklch(60.1% 0.092 317.1);
Tailwind
colors: {
  custom: {
    50: '#b699c0',
    500: '#976fa5',
    950: '#000000',
  },
}
SCSS
$custom: #976fa5;
$custom-light: #b699c0;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa5",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 165
  },
  "hsl": {
    "h": 284.444,
    "s": 23.077,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60144,
    "c": 0.09189,
    "h": 317.1
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#976FA5
secondary
#B2C3AC
accent
#C0687F
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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