#976FA8#976FA8

#976FA8 is a mid, moderate purple. Relative luminance 0.208; OKLCH L 60.3% C 0.096 H 315.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#976FA8
RGBrgb(151, 111, 168)
HSLhsl(282, 25%, 55%)
HSVhsv(282, 34%, 66%)
CMYKcmyk(10.1%, 33.9%, 0%, 34.1%)
CIE-LABlab(52.70, 26.40, -24.43)
CIE-LCHlch(52.70, 35.97, 317.22°)
OKLaboklab(60.28% 0.0681 -0.0669)
OKLCHoklch(60.28% 0.096 315.5)
XYZxyz(25.5137, 20.7759, 39.7043)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FA8 #80A86F
analogous
#7B6FA8 #976FA8 #A86F9D
triadic
#976FA8 #A8976F #6FA897
tetradic
#976FA8 #A87B6F #80A86F #6F9DA8
square
#976FA8 #A87B6F #80A86F #6F9DA8
split-complementary
#976FA8 #9DA86F #6FA87B
monochromatic
#563B62 #785288 #976FA8 #B395BF #CEBBD6

Accessibility & contrast

On white

4.07
#976FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#976FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FA8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FA8#FFFFFF#000000##000000
##976FA81.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#707FA6
Tritanopia (blue-blind)
#967684
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976fa8;
/* rgb */ color: rgb(151, 111, 168);
/* oklch */ color: oklch(60.3% 0.096 315.5);
Tailwind
colors: {
  custom: {
    50: '#b699c2',
    500: '#976fa8',
    950: '#000000',
  },
}
SCSS
$custom: #976fa8;
$custom-light: #b699c2;
$custom-dark: #000000;
JSON
{
  "hex": "#976fa8",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 168
  },
  "hsl": {
    "h": 282.105,
    "s": 24.675,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.09552,
    "h": 315.5
  },
  "luminance": 0.20775
}

Semantic roles & 50–950 ramp

primary
#976FA8
secondary
#B5C5AD
accent
#C16782
background
#FBF9FB
surface
#F6F2F7
border
#D0CCD0
text
#110E12
muted
#807E81

Preview Lab

Preview with #976FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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