#976DC2#976DC2

#976DC2 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.2% C 0.132 H 305.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#976DC2
RGBrgb(151, 109, 194)
HSLhsl(270, 41%, 59%)
HSVhsv(270, 44%, 76%)
CMYKcmyk(22.2%, 43.8%, 0%, 23.9%)
CIE-LABlab(53.40, 33.43, -38.35)
CIE-LCHlch(53.40, 50.88, 311.08°)
OKLaboklab(61.18% 0.0767 -0.1069)
OKLCHoklch(61.18% 0.132 305.6)
XYZxyz(27.9668, 21.4118, 53.6880)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DC2 #98C26D
analogous
#6D6EC2 #976DC2 #C26DC2
triadic
#976DC2 #C2976D #6DC297
tetradic
#976DC2 #C26D6E #98C26D #6DC2C2
square
#976DC2 #C26D6E #98C26D #6DC2C2
split-complementary
#976DC2 #C2C26D #6EC26D
monochromatic
#5A357F #7847AB #976DC2 #B698D4 #D4C3E6

Accessibility & contrast

On white

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

On black

5.28
#976DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DC2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DC2#FFFFFF#000000##000000
##976DC21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#907B8E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976dc2;
/* rgb */ color: rgb(151, 109, 194);
/* oklch */ color: oklch(61.2% 0.132 305.6);
Tailwind
colors: {
  custom: {
    50: '#b797d5',
    500: '#976dc2',
    950: '#000000',
  },
}
SCSS
$custom: #976dc2;
$custom-light: #b797d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976dc2",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 269.647,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61183,
    "c": 0.13157,
    "h": 305.6
  },
  "luminance": 0.21412
}

Semantic roles & 50–950 ramp

primary
#976DC2
secondary
#C6D6B5
accent
#D15795
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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