#976EB8#976EB8

#976EB8 is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.9% C 0.117 H 308.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#976EB8
RGBrgb(151, 110, 184)
HSLhsl(273, 34%, 58%)
HSVhsv(273, 40%, 72%)
CMYKcmyk(17.9%, 40.2%, 0%, 27.8%)
CIE-LABlab(53.16, 30.54, -32.98)
CIE-LCHlch(53.16, 44.95, 312.80°)
OKLaboklab(60.85% 0.0734 -0.0914)
OKLCHoklch(60.85% 0.117 308.8)
XYZxyz(26.9885, 21.1922, 48.0068)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB8 #8FB86E
analogous
#726EB8 #976EB8 #B86EB4
triadic
#976EB8 #B8976E #6EB897
tetradic
#976EB8 #B8726E #8FB86E #6EB4B8
square
#976EB8 #B8726E #8FB86E #6EB4B8
split-complementary
#976EB8 #B4B86E #6EB872
monochromatic
#593873 #794D9C #976EB8 #B497CC #D2C0E0

Accessibility & contrast

On white

4.01
#976EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#976EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EB8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EB8#FFFFFF#000000##000000
##976EB81.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBB
Deuteranopia (green-blind)
#6880B6
Tritanopia (blue-blind)
#93798A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976eb8;
/* rgb */ color: rgb(151, 110, 184);
/* oklch */ color: oklch(60.9% 0.117 308.8);
Tailwind
colors: {
  custom: {
    50: '#b798cd',
    500: '#976eb8',
    950: '#000000',
  },
}
SCSS
$custom: #976eb8;
$custom-light: #b798cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb8",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 184
  },
  "hsl": {
    "h": 273.243,
    "s": 34.259,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6085,
    "c": 0.11721,
    "h": 308.8
  },
  "luminance": 0.21192
}

Semantic roles & 50–950 ramp

primary
#976EB8
secondary
#BFD0B2
accent
#CA5D8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #976EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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