#976BC2#976BC2

#976BC2 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.135 H 306.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#976BC2
RGBrgb(151, 107, 194)
HSLhsl(270, 42%, 59%)
HSVhsv(270, 45%, 76%)
CMYKcmyk(22.2%, 44.8%, 0%, 23.9%)
CIE-LABlab(52.94, 34.57, -39.08)
CIE-LCHlch(52.94, 52.18, 311.50°)
OKLaboklab(60.84% 0.0795 -0.109)
OKLCHoklch(60.84% 0.135 306.1)
XYZxyz(27.7558, 20.9899, 53.6177)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BC2 #96C26B
analogous
#6C6BC2 #976BC2 #C26BC2
triadic
#976BC2 #C2976B #6BC297
tetradic
#976BC2 #C26C6B #96C26B #6BC2C2
square
#976BC2 #C26C6B #96C26B #6BC2C2
split-complementary
#976BC2 #C2C26B #6BC26C
monochromatic
#5A347E #7846AA #976BC2 #B596D4 #D4C2E6

Accessibility & contrast

On white

4.04
#976BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#976BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BC2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BC2#FFFFFF#000000##000000
##976BC21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#607FC0
Tritanopia (blue-blind)
#90798D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976bc2;
/* rgb */ color: rgb(151, 107, 194);
/* oklch */ color: oklch(60.8% 0.135 306.1);
Tailwind
colors: {
  custom: {
    50: '#b796d5',
    500: '#976bc2',
    950: '#000000',
  },
}
SCSS
$custom: #976bc2;
$custom-light: #b796d5;
$custom-dark: #000000;
JSON
{
  "hex": "#976bc2",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 270.345,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60839,
    "c": 0.13493,
    "h": 306.1
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#976BC2
secondary
#C4D5B3
accent
#D15693
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110D14
muted
#807E83

Preview Lab

Preview with #976BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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