#976EBB#976EBB

#976EBB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.0% C 0.121 H 307.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#976EBB
RGBrgb(151, 110, 187)
HSLhsl(272, 36%, 58%)
HSVhsv(272, 41%, 73%)
CMYKcmyk(19.3%, 41.2%, 0%, 26.7%)
CIE-LABlab(53.30, 31.23, -34.49)
CIE-LCHlch(53.30, 46.53, 312.16°)
OKLaboklab(61% 0.074 -0.0958)
OKLCHoklch(61% 0.121 307.7)
XYZxyz(27.3063, 21.3193, 49.6806)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EBB #92BB6E
analogous
#706EBB #976EBB #BB6EB8
triadic
#976EBB #BB976E #6EBB97
tetradic
#976EBB #BB706E #92BB6E #6EB8BB
square
#976EBB #BB706E #92BB6E #6EB8BB
split-complementary
#976EBB #B8BB6E #6EBB70
monochromatic
#593877 #794BA1 #976EBB #B598CF #D3C1E2

Accessibility & contrast

On white

3.99
#976EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#976EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976EBB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976EBB#FFFFFF#000000##000000
##976EBB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBE
Deuteranopia (green-blind)
#6780B9
Tritanopia (blue-blind)
#927A8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976ebb;
/* rgb */ color: rgb(151, 110, 187);
/* oklch */ color: oklch(61.0% 0.121 307.7);
Tailwind
colors: {
  custom: {
    50: '#b798d0',
    500: '#976ebb',
    950: '#000000',
  },
}
SCSS
$custom: #976ebb;
$custom-light: #b798d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976ebb",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 187
  },
  "hsl": {
    "h": 271.948,
    "s": 36.15,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60999,
    "c": 0.121,
    "h": 307.7
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#976EBB
secondary
#C1D2B3
accent
#CC5C90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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