#976EA8#976EA8

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

Color values

HEX#976EA8
RGBrgb(151, 110, 168)
HSLhsl(282, 25%, 55%)
HSVhsv(282, 35%, 66%)
CMYKcmyk(10.1%, 34.5%, 0%, 34.1%)
CIE-LABlab(52.46, 26.98, -24.80)
CIE-LCHlch(52.46, 36.65, 317.41°)
OKLaboklab(60.09% 0.0697 -0.068)
OKLCHoklch(60.09% 0.097 315.7)
XYZxyz(25.4052, 20.5589, 39.6681)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA8 #7FA86E
analogous
#7A6EA8 #976EA8 #A86E9C
triadic
#976EA8 #A8976E #6EA897
tetradic
#976EA8 #A87A6E #7FA86E #6E9CA8
square
#976EA8 #A87A6E #7FA86E #6E9CA8
split-complementary
#976EA8 #9CA86E #6EA87A
monochromatic
#563A61 #785188 #976EA8 #B294BF #CEBBD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EA8#FFFFFF#000000##000000
##976EA81.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)
#657BAA
Deuteranopia (green-blind)
#6F7EA6
Tritanopia (blue-blind)
#967583
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea8;
/* rgb */ color: rgb(151, 110, 168);
/* oklch */ color: oklch(60.1% 0.097 315.7);
Tailwind
colors: {
  custom: {
    50: '#b698c2',
    500: '#976ea8',
    950: '#000000',
  },
}
SCSS
$custom: #976ea8;
$custom-light: #b698c2;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea8",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 282.414,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60094,
    "c": 0.09735,
    "h": 315.7
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#976EA8
secondary
#B4C5AD
accent
#C16681
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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