#976BCC#976BCC

#976BCC is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.147 H 303.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#976BCC
RGBrgb(151, 107, 204)
HSLhsl(267, 49%, 61%)
HSVhsv(267, 48%, 80%)
CMYKcmyk(26%, 47.5%, 0%, 20%)
CIE-LABlab(53.44, 36.96, -43.99)
CIE-LCHlch(53.44, 57.46, 310.03°)
OKLaboklab(61.38% 0.0809 -0.1233)
OKLCHoklch(61.38% 0.147 303.3)
XYZxyz(28.9169, 21.4544, 59.7327)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BCC #A0CC6B
analogous
#6B6FCC #976BCC #C76BCC
triadic
#976BCC #CC976B #6BCC97
tetradic
#976BCC #CC6B6F #A0CC6B #6BCCC7
square
#976BCC #CC6B6F #A0CC6B #6BCCC7
split-complementary
#976BCC #CCC76B #6FCC6B
monochromatic
#5A308C #7740BA #976BCC #B799DC #D7C6EB

Accessibility & contrast

On white

3.97
#976BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#976BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BCC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BCC#FFFFFF#000000##000000
##976BCC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#8E7C92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976bcc;
/* rgb */ color: rgb(151, 107, 204);
/* oklch */ color: oklch(61.4% 0.147 303.3);
Tailwind
colors: {
  custom: {
    50: '#b896dc',
    500: '#976bcc',
    950: '#000000',
  },
}
SCSS
$custom: #976bcc;
$custom-light: #b896dc;
$custom-dark: #000000;
JSON
{
  "hex": "#976bcc",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 204
  },
  "hsl": {
    "h": 267.216,
    "s": 48.744,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61381,
    "c": 0.14749,
    "h": 303.3
  },
  "luminance": 0.21454
}

Semantic roles & 50–950 ramp

primary
#976BCC
secondary
#CBDCB7
accent
#BC297A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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