#976EA6#976EA6

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

Color values

HEX#976EA6
RGBrgb(151, 110, 166)
HSLhsl(284, 24%, 54%)
HSVhsv(284, 34%, 65%)
CMYKcmyk(9%, 33.7%, 0%, 34.9%)
CIE-LABlab(52.38, 26.55, -23.77)
CIE-LCHlch(52.38, 35.63, 318.17°)
OKLaboklab(60.01% 0.0692 -0.065)
OKLCHoklch(60.01% 0.095 316.7)
XYZxyz(25.2204, 20.4849, 38.6944)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA6 #7DA66E
analogous
#7B6EA6 #976EA6 #A66E99
triadic
#976EA6 #A6976E #6EA697
tetradic
#976EA6 #A67B6E #7DA66E #6E99A6
square
#976EA6 #A67B6E #7DA66E #6E99A6
split-complementary
#976EA6 #99A66E #6EA67B
monochromatic
#553A5F #775285 #976EA6 #B294BD #CDBAD5

Accessibility & contrast

On white

4.12
#976EA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EA6#FFFFFF#000000##000000
##976EA61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#707EA4
Tritanopia (blue-blind)
#977583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea6;
/* rgb */ color: rgb(151, 110, 166);
/* oklch */ color: oklch(60.0% 0.095 316.7);
Tailwind
colors: {
  custom: {
    50: '#b698c0',
    500: '#976ea6',
    950: '#000000',
  },
}
SCSS
$custom: #976ea6;
$custom-light: #b698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea6",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 283.929,
    "s": 23.932,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60005,
    "c": 0.09494,
    "h": 316.7
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#976EA6
secondary
#B2C4AC
accent
#C0677F
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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