#976FA7#976FA7

#976FA7 is a mid, moderate purple. Relative luminance 0.207; OKLCH L 60.2% C 0.094 H 316.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#976FA7
RGBrgb(151, 111, 167)
HSLhsl(283, 24%, 55%)
HSVhsv(283, 34%, 65%)
CMYKcmyk(9.6%, 33.5%, 0%, 34.5%)
CIE-LABlab(52.66, 26.19, -23.91)
CIE-LCHlch(52.66, 35.46, 317.60°)
OKLaboklab(60.23% 0.0679 -0.0655)
OKLCHoklch(60.23% 0.094 316)
XYZxyz(25.4209, 20.7387, 39.2156)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA7 #7FA76F
analogous
#7B6FA7 #976FA7 #A76F9B
triadic
#976FA7 #A7976F #6FA797
tetradic
#976FA7 #A77B6F #7FA76F #6F9BA7
square
#976FA7 #A77B6F #7FA76F #6F9BA7
split-complementary
#976FA7 #9BA76F #6FA77B
monochromatic
#563B61 #785287 #976FA7 #B295BE #CEBBD5

Accessibility & contrast

On white

4.08
#976FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#976FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA7#FFFFFF#000000##000000
##976FA71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#707FA5
Tritanopia (blue-blind)
#977683
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976fa7;
/* rgb */ color: rgb(151, 111, 167);
/* oklch */ color: oklch(60.2% 0.094 316.0);
Tailwind
colors: {
  custom: {
    50: '#b699c1',
    500: '#976fa7',
    950: '#000000',
  },
}
SCSS
$custom: #976fa7;
$custom-light: #b699c1;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa7",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 282.857,
    "s": 24.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.09429,
    "h": 316
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#976FA7
secondary
#B4C5AD
accent
#C16781
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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