#976BC9#976BC9

#976BC9 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.2% C 0.144 H 304.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#976BC9
RGBrgb(151, 107, 201)
HSLhsl(268, 47%, 60%)
HSVhsv(268, 47%, 79%)
CMYKcmyk(24.9%, 46.8%, 0%, 21.2%)
CIE-LABlab(53.29, 36.24, -42.53)
CIE-LCHlch(53.29, 55.87, 310.43°)
OKLaboklab(61.22% 0.0805 -0.119)
OKLCHoklch(61.22% 0.144 304.1)
XYZxyz(28.5606, 21.3118, 57.8560)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BC9 #9DC96B
analogous
#6B6EC9 #976BC9 #C66BC9
triadic
#976BC9 #C9976B #6BC997
tetradic
#976BC9 #C96B6E #9DC96B #6BC9C6
square
#976BC9 #C96B6E #9DC96B #6BC9C6
split-complementary
#976BC9 #C9C66B #6EC96B
monochromatic
#5A3288 #7842B5 #976BC9 #B798D9 #D6C5EA

Accessibility & contrast

On white

3.99
#976BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#976BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BC9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BC9#FFFFFF#000000##000000
##976BC91.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#5C7FC7
Tritanopia (blue-blind)
#8F7B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976bc9;
/* rgb */ color: rgb(151, 107, 201);
/* oklch */ color: oklch(61.2% 0.144 304.1);
Tailwind
colors: {
  custom: {
    50: '#b896da',
    500: '#976bc9',
    950: '#000000',
  },
}
SCSS
$custom: #976bc9;
$custom-light: #b896da;
$custom-dark: #000000;
JSON
{
  "hex": "#976bc9",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 201
  },
  "hsl": {
    "h": 268.085,
    "s": 46.535,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61216,
    "c": 0.14373,
    "h": 304.1
  },
  "luminance": 0.21312
}

Semantic roles & 50–950 ramp

primary
#976BC9
secondary
#C9DAB6
accent
#BA2C77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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