#976DCA#976DCA

#976DCA is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.6% C 0.142 H 303.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#976DCA
RGBrgb(151, 109, 202)
HSLhsl(267, 47%, 61%)
HSVhsv(267, 46%, 79%)
CMYKcmyk(25.2%, 46%, 0%, 20.8%)
CIE-LABlab(53.79, 35.34, -42.30)
CIE-LCHlch(53.79, 55.12, 309.88°)
OKLaboklab(61.61% 0.0779 -0.1184)
OKLCHoklch(61.61% 0.142 303.3)
XYZxyz(28.8895, 21.7809, 58.5478)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DCA #A0CA6D
analogous
#6D71CA #976DCA #C66DCA
triadic
#976DCA #CA976D #6DCA97
tetradic
#976DCA #CA6D71 #A0CA6D #6DCAC6
square
#976DCA #CA6D71 #A0CA6D #6DCAC6
split-complementary
#976DCA #CAC66D #71CA6D
monochromatic
#5A328A #7743B7 #976DCA #B79ADA #D7C7EB

Accessibility & contrast

On white

3.92
#976DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#976DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DCA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DCA#FFFFFF#000000##000000
##976DCA1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CD
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#8E7D92
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #976dca;
/* rgb */ color: rgb(151, 109, 202);
/* oklch */ color: oklch(61.6% 0.142 303.3);
Tailwind
colors: {
  custom: {
    50: '#b897da',
    500: '#976dca',
    950: '#000000',
  },
}
SCSS
$custom: #976dca;
$custom-light: #b897da;
$custom-dark: #000000;
JSON
{
  "hex": "#976dca",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 202
  },
  "hsl": {
    "h": 267.097,
    "s": 46.734,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6161,
    "c": 0.14171,
    "h": 303.3
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#976DCA
secondary
#CBDBB8
accent
#BA2C7A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #976DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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