#976DC7#976DC7

#976DC7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.4% C 0.138 H 304.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#976DC7
RGBrgb(151, 109, 199)
HSLhsl(268, 45%, 60%)
HSVhsv(268, 45%, 78%)
CMYKcmyk(24.1%, 45.2%, 0%, 22%)
CIE-LABlab(53.64, 34.62, -40.83)
CIE-LCHlch(53.64, 53.53, 310.30°)
OKLaboklab(61.45% 0.0775 -0.1141)
OKLCHoklch(61.45% 0.138 304.2)
XYZxyz(28.5378, 21.6402, 56.6953)
Luminance0.2164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DC7 #9DC76D
analogous
#6D70C7 #976DC7 #C46DC7
triadic
#976DC7 #C7976D #6DC797
tetradic
#976DC7 #C76D70 #9DC76D #6DC7C4
square
#976DC7 #C76D70 #9DC76D #6DC7C4
split-complementary
#976DC7 #C7C46D #70C76D
monochromatic
#5A3386 #7844B2 #976DC7 #B799D8 #D6C5E9

Accessibility & contrast

On white

3.94
#976DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#976DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DC7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DC7#FFFFFF#000000##000000
##976DC71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#8F7C90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976dc7;
/* rgb */ color: rgb(151, 109, 199);
/* oklch */ color: oklch(61.4% 0.138 304.2);
Tailwind
colors: {
  custom: {
    50: '#b797d8',
    500: '#976dc7',
    950: '#000000',
  },
}
SCSS
$custom: #976dc7;
$custom-light: #b797d8;
$custom-dark: #000000;
JSON
{
  "hex": "#976dc7",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 199
  },
  "hsl": {
    "h": 268,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.13791,
    "h": 304.2
  },
  "luminance": 0.2164
}

Semantic roles & 50–950 ramp

primary
#976DC7
secondary
#C9D9B7
accent
#B82E77
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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