#976CBD#976CBD

#976CBD is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.127 H 307.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#976CBD
RGBrgb(151, 108, 189)
HSLhsl(272, 38%, 58%)
HSVhsv(272, 43%, 74%)
CMYKcmyk(20.1%, 42.9%, 0%, 25.9%)
CIE-LABlab(52.93, 32.84, -36.22)
CIE-LCHlch(52.93, 48.89, 312.19°)
OKLaboklab(60.75% 0.0773 -0.1008)
OKLCHoklch(60.75% 0.127 307.5)
XYZxyz(27.3086, 20.9788, 50.7449)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CBD #92BD6C
analogous
#6E6CBD #976CBD #BD6CBA
triadic
#976CBD #BD976C #6CBD97
tetradic
#976CBD #BD6E6C #92BD6C #6CBABD
square
#976CBD #BD6E6C #92BD6C #6CBABD
split-complementary
#976CBD #BABD6C #6CBD6E
monochromatic
#593678 #7949A3 #976CBD #B596D0 #D3C0E3

Accessibility & contrast

On white

4.04
#976CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#976CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CBD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CBD#FFFFFF#000000##000000
##976CBD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC0
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#92798B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976cbd;
/* rgb */ color: rgb(151, 108, 189);
/* oklch */ color: oklch(60.8% 0.127 307.5);
Tailwind
colors: {
  custom: {
    50: '#b797d1',
    500: '#976cbd',
    950: '#000000',
  },
}
SCSS
$custom: #976cbd;
$custom-light: #b797d1;
$custom-dark: #000000;
JSON
{
  "hex": "#976cbd",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 271.852,
    "s": 38.028,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.12696,
    "h": 307.5
  },
  "luminance": 0.20979
}

Semantic roles & 50–950 ramp

primary
#976CBD
secondary
#C1D3B2
accent
#CE5A90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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