#976CBB#976CBB

#976CBB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.6% C 0.124 H 308.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#976CBB
RGBrgb(151, 108, 187)
HSLhsl(273, 37%, 58%)
HSVhsv(273, 42%, 73%)
CMYKcmyk(19.3%, 42.2%, 0%, 26.7%)
CIE-LABlab(52.83, 32.37, -35.22)
CIE-LCHlch(52.83, 47.84, 312.59°)
OKLaboklab(60.65% 0.0769 -0.0979)
OKLCHoklch(60.65% 0.124 308.2)
XYZxyz(27.0930, 20.8926, 49.6095)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CBB #90BB6C
analogous
#6F6CBB #976CBB #BB6CB7
triadic
#976CBB #BB976C #6CBB97
tetradic
#976CBB #BB6F6C #90BB6C #6CB7BB
square
#976CBB #BB6F6C #90BB6C #6CB7BB
split-complementary
#976CBB #B7BB6C #6CBB6F
monochromatic
#593776 #794AA0 #976CBB #B596CE #D2C0E2

Accessibility & contrast

On white

4.06
#976CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#976CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CBB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CBB#FFFFFF#000000##000000
##976CBB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#92788A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976cbb;
/* rgb */ color: rgb(151, 108, 187);
/* oklch */ color: oklch(60.6% 0.124 308.2);
Tailwind
colors: {
  custom: {
    50: '#b797d0',
    500: '#976cbb',
    950: '#000000',
  },
}
SCSS
$custom: #976cbb;
$custom-light: #b797d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976cbb",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 272.658,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.12445,
    "h": 308.2
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#976CBB
secondary
#C0D1B2
accent
#CD5B8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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