#976EA7#976EA7

#976EA7 is a mid, moderate purple. Relative luminance 0.205; OKLCH L 60.0% C 0.096 H 316.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#976EA7
RGBrgb(151, 110, 167)
HSLhsl(283, 24%, 54%)
HSVhsv(283, 34%, 65%)
CMYKcmyk(9.6%, 34.1%, 0%, 34.5%)
CIE-LABlab(52.42, 26.77, -24.28)
CIE-LCHlch(52.42, 36.14, 317.78°)
OKLaboklab(60.05% 0.0694 -0.0665)
OKLCHoklch(60.05% 0.096 316.2)
XYZxyz(25.3124, 20.5217, 39.1794)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA7 #7EA76E
analogous
#7B6EA7 #976EA7 #A76E9B
triadic
#976EA7 #A7976E #6EA797
tetradic
#976EA7 #A77B6E #7EA76E #6E9BA7
square
#976EA7 #A77B6E #7EA76E #6E9BA7
split-complementary
#976EA7 #9BA76E #6EA77B
monochromatic
#563A60 #775286 #976EA7 #B294BE #CEBAD5

Accessibility & contrast

On white

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

On black

5.10
#976EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EA7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EA7#FFFFFF#000000##000000
##976EA71.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BA9
Deuteranopia (green-blind)
#6F7EA5
Tritanopia (blue-blind)
#977583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea7;
/* rgb */ color: rgb(151, 110, 167);
/* oklch */ color: oklch(60.0% 0.096 316.2);
Tailwind
colors: {
  custom: {
    50: '#b698c1',
    500: '#976ea7',
    950: '#000000',
  },
}
SCSS
$custom: #976ea7;
$custom-light: #b698c1;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea7",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 283.158,
    "s": 24.464,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.09614,
    "h": 316.2
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#976EA7
secondary
#B3C4AC
accent
#C16780
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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