#976AC8#976AC8

#976AC8 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.0% C 0.144 H 304.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#976AC8
RGBrgb(151, 106, 200)
HSLhsl(269, 46%, 60%)
HSVhsv(269, 47%, 78%)
CMYKcmyk(24.5%, 47%, 0%, 21.6%)
CIE-LABlab(53.01, 36.57, -42.39)
CIE-LCHlch(53.01, 55.98, 310.78°)
OKLaboklab(60.99% 0.0818 -0.1186)
OKLCHoklch(60.99% 0.144 304.6)
XYZxyz(28.3397, 21.0576, 57.2039)
Luminance0.2106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976AC8 #9BC86A
analogous
#6A6CC8 #976AC8 #C66AC8
triadic
#976AC8 #C8976A #6AC897
tetradic
#976AC8 #C86A6C #9BC86A #6AC8C6
square
#976AC8 #C86A6C #9BC86A #6AC8C6
split-complementary
#976AC8 #C8C66A #6CC86A
monochromatic
#5A3286 #7842B3 #976AC8 #B697D8 #D5C3E9

Accessibility & contrast

On white

4.03
#976AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#976AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976AC8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976AC8#FFFFFF#000000##000000
##976AC81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#8F7A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976ac8;
/* rgb */ color: rgb(151, 106, 200);
/* oklch */ color: oklch(61.0% 0.144 304.6);
Tailwind
colors: {
  custom: {
    50: '#b895d9',
    500: '#976ac8',
    950: '#000000',
  },
}
SCSS
$custom: #976ac8;
$custom-light: #b895d9;
$custom-dark: #000000;
JSON
{
  "hex": "#976ac8",
  "rgb": {
    "r": 151,
    "g": 106,
    "b": 200
  },
  "hsl": {
    "h": 268.723,
    "s": 46.078,
    "l": 60
  },
  "oklch": {
    "l": 0.60992,
    "c": 0.14411,
    "h": 304.6
  },
  "luminance": 0.21058
}

Semantic roles & 50–950 ramp

primary
#976AC8
secondary
#C8D9B5
accent
#D65297
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #976AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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