#976AC2#976AC2

#976AC2 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.7% C 0.137 H 306.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#976AC2
RGBrgb(151, 106, 194)
HSLhsl(271, 42%, 59%)
HSVhsv(271, 45%, 76%)
CMYKcmyk(22.2%, 45.4%, 0%, 23.9%)
CIE-LABlab(52.71, 35.14, -39.43)
CIE-LCHlch(52.71, 52.82, 311.71°)
OKLaboklab(60.67% 0.0809 -0.11)
OKLCHoklch(60.67% 0.137 306.3)
XYZxyz(27.6522, 20.7826, 53.5832)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AC2 #95C26A
analogous
#6B6AC2 #976AC2 #C26AC1
triadic
#976AC2 #C2976A #6AC297
tetradic
#976AC2 #C26B6A #95C26A #6AC1C2
square
#976AC2 #C26B6A #95C26A #6AC1C2
split-complementary
#976AC2 #C1C26A #6AC26B
monochromatic
#5A347E #7945A9 #976AC2 #B595D4 #D4C1E6

Accessibility & contrast

On white

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

On black

5.16
#976AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AC2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AC2#FFFFFF#000000##000000
##976AC21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#5F7EC0
Tritanopia (blue-blind)
#91798D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976ac2;
/* rgb */ color: rgb(151, 106, 194);
/* oklch */ color: oklch(60.7% 0.137 306.3);
Tailwind
colors: {
  custom: {
    50: '#b795d5',
    500: '#976ac2',
    950: '#000000',
  },
}
SCSS
$custom: #976ac2;
$custom-light: #b795d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976ac2",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 270.682,
    "s": 41.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.13662,
    "h": 306.3
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#976AC2
secondary
#C4D5B3
accent
#D25692
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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