#976EB5#976EB5

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

Color values

HEX#976EB5
RGBrgb(151, 110, 181)
HSLhsl(275, 32%, 57%)
HSVhsv(275, 39%, 71%)
CMYKcmyk(16.6%, 39.2%, 0%, 29%)
CIE-LABlab(53.02, 29.85, -31.46)
CIE-LCHlch(53.02, 43.37, 313.50°)
OKLaboklab(60.7% 0.0727 -0.087)
OKLCHoklch(60.7% 0.113 309.9)
XYZxyz(26.6774, 21.0677, 46.3682)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB5 #8CB56E
analogous
#746EB5 #976EB5 #B56EB0
triadic
#976EB5 #B5976E #6EB597
tetradic
#976EB5 #B5746E #8CB56E #6EB0B5
square
#976EB5 #B5746E #8CB56E #6EB0B5
split-complementary
#976EB5 #B0B56E #6EB574
monochromatic
#593970 #794E98 #976EB5 #B497CA #D1BFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EB5#FFFFFF#000000##000000
##976EB51.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)
#607DB8
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#947889
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976eb5;
/* rgb */ color: rgb(151, 110, 181);
/* oklch */ color: oklch(60.7% 0.113 309.9);
Tailwind
colors: {
  custom: {
    50: '#b798cb',
    500: '#976eb5',
    950: '#000000',
  },
}
SCSS
$custom: #976eb5;
$custom-light: #b798cb;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb5",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 181
  },
  "hsl": {
    "h": 274.648,
    "s": 32.42,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60703,
    "c": 0.11343,
    "h": 309.9
  },
  "luminance": 0.21067
}

Semantic roles & 50–950 ramp

primary
#976EB5
secondary
#BDCEB1
accent
#C95F8C
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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