#976FA4#976FA4

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

Color values

HEX#976FA4
RGBrgb(151, 111, 164)
HSLhsl(285, 23%, 54%)
HSVhsv(285, 32%, 64%)
CMYKcmyk(7.9%, 32.3%, 0%, 35.7%)
CIE-LABlab(52.54, 25.55, -22.35)
CIE-LCHlch(52.54, 33.95, 318.81°)
OKLaboklab(60.1% 0.0671 -0.0611)
OKLCHoklch(60.1% 0.091 317.7)
XYZxyz(25.1468, 20.6291, 37.7719)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA4 #7CA46F
analogous
#7D6FA4 #976FA4 #A46F97
triadic
#976FA4 #A4976F #6FA497
tetradic
#976FA4 #A47D6F #7CA46F #6F97A4
square
#976FA4 #A47D6F #7CA46F #6F97A4
split-complementary
#976FA4 #97A46F #6FA47D
monochromatic
#553B5E #775383 #976FA4 #B295BC #CDBAD3

Accessibility & contrast

On white

4.10
#976FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#976FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA4#FFFFFF#000000##000000
##976FA41.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#687BA6
Deuteranopia (green-blind)
#717FA2
Tritanopia (blue-blind)
#977582
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976fa4;
/* rgb */ color: rgb(151, 111, 164);
/* oklch */ color: oklch(60.1% 0.091 317.7);
Tailwind
colors: {
  custom: {
    50: '#b699bf',
    500: '#976fa4',
    950: '#000000',
  },
}
SCSS
$custom: #976fa4;
$custom-light: #b699bf;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa4",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 285.283,
    "s": 22.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.601,
    "c": 0.09069,
    "h": 317.7
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#976FA4
secondary
#B2C3AC
accent
#BF697E
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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