#976EA5#976EA5

#976EA5 is a mid, moderate purple. Relative luminance 0.204; OKLCH L 60.0% C 0.094 H 317.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#976EA5
RGBrgb(151, 110, 165)
HSLhsl(285, 23%, 54%)
HSVhsv(285, 33%, 65%)
CMYKcmyk(8.5%, 33.3%, 0%, 35.3%)
CIE-LABlab(52.34, 26.34, -23.25)
CIE-LCHlch(52.34, 35.13, 318.57°)
OKLaboklab(59.96% 0.0689 -0.0636)
OKLCHoklch(59.96% 0.094 317.3)
XYZxyz(25.1290, 20.4484, 38.2132)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EA5 #7CA56E
analogous
#7C6EA5 #976EA5 #A56E98
triadic
#976EA5 #A5976E #6EA597
tetradic
#976EA5 #A57C6E #7CA56E #6E98A5
square
#976EA5 #A57C6E #7CA56E #6E98A5
split-complementary
#976EA5 #98A56E #6EA57C
monochromatic
#553A5E #775284 #976EA5 #B294BC #CDBAD4

Accessibility & contrast

On white

4.13
#976EA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#976EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EA5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EA5#FFFFFF#000000##000000
##976EA51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#707EA3
Tritanopia (blue-blind)
#977582
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976ea5;
/* rgb */ color: rgb(151, 110, 165);
/* oklch */ color: oklch(60.0% 0.094 317.3);
Tailwind
colors: {
  custom: {
    50: '#b698c0',
    500: '#976ea5',
    950: '#000000',
  },
}
SCSS
$custom: #976ea5;
$custom-light: #b698c0;
$custom-dark: #000000;
JSON
{
  "hex": "#976ea5",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 165
  },
  "hsl": {
    "h": 284.727,
    "s": 23.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5996,
    "c": 0.09373,
    "h": 317.3
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#976EA5
secondary
#B2C3AC
accent
#C0687E
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110D12
muted
#807E81

Preview Lab

Preview with #976EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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