#976CCC#976CCC

#976CCC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.6% C 0.146 H 303.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#976CCC
RGBrgb(151, 108, 204)
HSLhsl(267, 48%, 61%)
HSVhsv(267, 47%, 80%)
CMYKcmyk(26%, 47.1%, 0%, 20%)
CIE-LABlab(53.67, 36.39, -43.64)
CIE-LCHlch(53.67, 56.82, 309.83°)
OKLaboklab(61.55% 0.0795 -0.1223)
OKLCHoklch(61.55% 0.146 303)
XYZxyz(29.0218, 21.6641, 59.7677)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CCC #A1CC6C
analogous
#6C71CC #976CCC #C76CCC
triadic
#976CCC #CC976C #6CCC97
tetradic
#976CCC #CC6C71 #A1CC6C #6CCCC7
square
#976CCC #CC6C71 #A1CC6C #6CCCC7
split-complementary
#976CCC #CCC76C #71CC6C
monochromatic
#5A318D #7741BA #976CCC #B799DC #D7C7EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976CCC#FFFFFF#000000##000000
##976CCC1.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)
#517FCF
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#8E7D92
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976ccc;
/* rgb */ color: rgb(151, 108, 204);
/* oklch */ color: oklch(61.6% 0.146 303.0);
Tailwind
colors: {
  custom: {
    50: '#b897dc',
    500: '#976ccc',
    950: '#000000',
  },
}
SCSS
$custom: #976ccc;
$custom-light: #b897dc;
$custom-dark: #000000;
JSON
{
  "hex": "#976ccc",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 266.875,
    "s": 48.485,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6155,
    "c": 0.14586,
    "h": 303
  },
  "luminance": 0.21664
}

Semantic roles & 50–950 ramp

primary
#976CCC
secondary
#CCDCB8
accent
#BC2A7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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