#976DC1#976DC1

#976DC1 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.1% C 0.130 H 306.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#976DC1
RGBrgb(151, 109, 193)
HSLhsl(270, 40%, 59%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(21.8%, 43.5%, 0%, 24.3%)
CIE-LABlab(53.35, 33.20, -37.86)
CIE-LCHlch(53.35, 50.35, 311.25°)
OKLaboklab(61.13% 0.0765 -0.1055)
OKLCHoklch(61.13% 0.13 306)
XYZxyz(27.8548, 21.3670, 53.0986)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DC1 #97C16D
analogous
#6D6DC1 #976DC1 #C16DC1
triadic
#976DC1 #C1976D #6DC197
tetradic
#976DC1 #C16D6D #97C16D #6DC1C1
square
#976DC1 #C16D6D #97C16D #6DC1C1
split-complementary
#976DC1 #C1C16D #6DC16D
monochromatic
#5A367E #7848A9 #976DC1 #B698D3 #D4C3E5

Accessibility & contrast

On white

3.98
#976DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#976DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DC1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DC1#FFFFFF#000000##000000
##976DC11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#917B8E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976dc1;
/* rgb */ color: rgb(151, 109, 193);
/* oklch */ color: oklch(61.1% 0.130 306.0);
Tailwind
colors: {
  custom: {
    50: '#b797d4',
    500: '#976dc1',
    950: '#000000',
  },
}
SCSS
$custom: #976dc1;
$custom-light: #b797d4;
$custom-dark: #000000;
JSON
{
  "hex": "#976dc1",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 40.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61131,
    "c": 0.1303,
    "h": 306
  },
  "luminance": 0.21367
}

Semantic roles & 50–950 ramp

primary
#976DC1
secondary
#C5D5B4
accent
#D05894
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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