#976EB4#976EB4

#976EB4 is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.7% C 0.112 H 310.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#976EB4
RGBrgb(151, 110, 180)
HSLhsl(275, 32%, 57%)
HSVhsv(275, 39%, 71%)
CMYKcmyk(16.1%, 38.9%, 0%, 29.4%)
CIE-LABlab(52.98, 29.63, -30.96)
CIE-LCHlch(52.98, 42.85, 313.74°)
OKLaboklab(60.65% 0.0725 -0.0856)
OKLCHoklch(60.65% 0.112 310.3)
XYZxyz(26.5752, 21.0268, 45.8298)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB4 #8BB46E
analogous
#746EB4 #976EB4 #B46EAE
triadic
#976EB4 #B4976E #6EB497
tetradic
#976EB4 #B4746E #8BB46E #6EAEB4
square
#976EB4 #B4746E #8BB46E #6EAEB4
split-complementary
#976EB4 #AEB46E #6EB474
monochromatic
#58396E #794E97 #976EB4 #B496C9 #D1BFDE

Accessibility & contrast

On white

4.03
#976EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#976EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EB4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EB4#FFFFFF#000000##000000
##976EB41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607DB7
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#947888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976eb4;
/* rgb */ color: rgb(151, 110, 180);
/* oklch */ color: oklch(60.7% 0.112 310.3);
Tailwind
colors: {
  custom: {
    50: '#b798ca',
    500: '#976eb4',
    950: '#000000',
  },
}
SCSS
$custom: #976eb4;
$custom-light: #b798ca;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb4",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 180
  },
  "hsl": {
    "h": 275.143,
    "s": 31.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60654,
    "c": 0.11218,
    "h": 310.3
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#976EB4
secondary
#BCCDB1
accent
#C8608B
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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