#976AC7#976AC7

#976AC7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.9% C 0.143 H 304.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#976AC7
RGBrgb(151, 106, 199)
HSLhsl(269, 45%, 60%)
HSVhsv(269, 47%, 78%)
CMYKcmyk(24.1%, 46.7%, 0%, 22%)
CIE-LABlab(52.96, 36.33, -41.90)
CIE-LCHlch(52.96, 55.46, 310.92°)
OKLaboklab(60.94% 0.0817 -0.1172)
OKLCHoklch(60.94% 0.143 304.9)
XYZxyz(28.2232, 21.0110, 56.5904)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AC7 #9AC76A
analogous
#6A6CC7 #976AC7 #C56AC7
triadic
#976AC7 #C7976A #6AC797
tetradic
#976AC7 #C76A6C #9AC76A #6AC7C5
square
#976AC7 #C76A6C #9AC76A #6AC7C5
split-complementary
#976AC7 #C7C56A #6CC76A
monochromatic
#5A3285 #7843B1 #976AC7 #B696D8 #D5C3E8

Accessibility & contrast

On white

4.04
#976AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#976AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AC7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AC7#FFFFFF#000000##000000
##976AC71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517DCA
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#8F7A8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976ac7;
/* rgb */ color: rgb(151, 106, 199);
/* oklch */ color: oklch(60.9% 0.143 304.9);
Tailwind
colors: {
  custom: {
    50: '#b895d8',
    500: '#976ac7',
    950: '#000000',
  },
}
SCSS
$custom: #976ac7;
$custom-light: #b895d8;
$custom-dark: #000000;
JSON
{
  "hex": "#976ac7",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 199
  },
  "hsl": {
    "h": 269.032,
    "s": 45.366,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60938,
    "c": 0.14286,
    "h": 304.9
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

primary
#976AC7
secondary
#C7D8B4
accent
#D55396
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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