#976EB2#976EB2

#976EB2 is a mid, moderate violet. Relative luminance 0.209; OKLCH L 60.6% C 0.110 H 311.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#976EB2
RGBrgb(151, 110, 178)
HSLhsl(276, 31%, 56%)
HSVhsv(276, 38%, 70%)
CMYKcmyk(15.2%, 38.2%, 0%, 30.2%)
CIE-LABlab(52.89, 29.18, -29.94)
CIE-LCHlch(52.89, 41.81, 314.26°)
OKLaboklab(60.56% 0.0721 -0.0827)
OKLCHoklch(60.56% 0.11 311.1)
XYZxyz(26.3729, 20.9459, 44.7645)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB2 #89B26E
analogous
#756EB2 #976EB2 #B26EAB
triadic
#976EB2 #B2976E #6EB297
tetradic
#976EB2 #B2756E #89B26E #6EABB2
square
#976EB2 #B2756E #89B26E #6EABB2
split-complementary
#976EB2 #ABB26E #6EB275
monochromatic
#58396C #794F94 #976EB2 #B496C7 #D0BEDC

Accessibility & contrast

On white

4.05
#976EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#976EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EB2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EB2#FFFFFF#000000##000000
##976EB21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617CB5
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#947888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976eb2;
/* rgb */ color: rgb(151, 110, 178);
/* oklch */ color: oklch(60.6% 0.110 311.1);
Tailwind
colors: {
  custom: {
    50: '#b698c9',
    500: '#976eb2',
    950: '#000000',
  },
}
SCSS
$custom: #976eb2;
$custom-light: #b698c9;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb2",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 178
  },
  "hsl": {
    "h": 276.176,
    "s": 30.631,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60558,
    "c": 0.10967,
    "h": 311.1
  },
  "luminance": 0.20946
}

Semantic roles & 50–950 ramp

primary
#976EB2
secondary
#BBCCB0
accent
#C76189
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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