#976FAC#976FAC

#976FAC is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.5% C 0.100 H 313.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#976FAC
RGBrgb(151, 111, 172)
HSLhsl(279, 27%, 55%)
HSVhsv(279, 35%, 67%)
CMYKcmyk(12.2%, 35.5%, 0%, 32.5%)
CIE-LABlab(52.87, 27.27, -26.50)
CIE-LCHlch(52.87, 38.02, 315.83°)
OKLaboklab(60.46% 0.0692 -0.0728)
OKLCHoklch(60.46% 0.1 313.5)
XYZxyz(25.8921, 20.9272, 41.6971)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FAC #84AC6F
analogous
#786FAC #976FAC #AC6FA2
triadic
#976FAC #AC976F #6FAC97
tetradic
#976FAC #AC786F #84AC6F #6FA2AC
square
#976FAC #AC786F #84AC6F #6FA2AC
split-complementary
#976FAC #A2AC6F #6FAC78
monochromatic
#573B66 #78518D #976FAC #B396C2 #CFBDD9

Accessibility & contrast

On white

4.05
#976FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#976FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FAC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FAC#FFFFFF#000000##000000
##976FAC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAE
Deuteranopia (green-blind)
#6E7FAA
Tritanopia (blue-blind)
#957786
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976fac;
/* rgb */ color: rgb(151, 111, 172);
/* oklch */ color: oklch(60.5% 0.100 313.5);
Tailwind
colors: {
  custom: {
    50: '#b699c5',
    500: '#976fac',
    950: '#000000',
  },
}
SCSS
$custom: #976fac;
$custom-light: #b699c5;
$custom-dark: #000000;
JSON
{
  "hex": "#976fac",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 279.344,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60458,
    "c": 0.10042,
    "h": 313.5
  },
  "luminance": 0.20927
}

Semantic roles & 50–950 ramp

primary
#976FAC
secondary
#B7C8AF
accent
#C36585
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110E13
muted
#807E82

Preview Lab

Preview with #976FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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