#976DCC#976DCC

#976DCC is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.7% C 0.144 H 302.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#976DCC
RGBrgb(151, 109, 204)
HSLhsl(267, 48%, 61%)
HSVhsv(267, 47%, 80%)
CMYKcmyk(26%, 46.6%, 0%, 20%)
CIE-LABlab(53.90, 35.83, -43.28)
CIE-LCHlch(53.90, 56.18, 309.62°)
OKLaboklab(61.72% 0.0782 -0.1212)
OKLCHoklch(61.72% 0.144 302.8)
XYZxyz(29.1278, 21.8762, 59.8030)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DCC #A2CC6D
analogous
#6D73CC #976DCC #C66DCC
triadic
#976DCC #CC976D #6DCC97
tetradic
#976DCC #CC6D73 #A2CC6D #6DCCC6
square
#976DCC #CC6D73 #A2CC6D #6DCCC6
split-complementary
#976DCC #CCC66D #73CC6D
monochromatic
#5A318D #7741BB #976DCC #B79ADC #D8C8EC

Accessibility & contrast

On white

3.91
#976DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#976DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DCC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DCC#FFFFFF#000000##000000
##976DCC1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#8E7E93
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976dcc;
/* rgb */ color: rgb(151, 109, 204);
/* oklch */ color: oklch(61.7% 0.144 302.8);
Tailwind
colors: {
  custom: {
    50: '#b898dc',
    500: '#976dcc',
    950: '#000000',
  },
}
SCSS
$custom: #976dcc;
$custom-light: #b898dc;
$custom-dark: #000000;
JSON
{
  "hex": "#976dcc",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 204
  },
  "hsl": {
    "h": 266.526,
    "s": 48.223,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.14424,
    "h": 302.8
  },
  "luminance": 0.21876
}

Semantic roles & 50–950 ramp

primary
#976DCC
secondary
#CCDCB9
accent
#BC2A7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #976DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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