#976CBF#976CBF

#976CBF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.9% C 0.129 H 306.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#976CBF
RGBrgb(151, 108, 191)
HSLhsl(271, 39%, 59%)
HSVhsv(271, 43%, 75%)
CMYKcmyk(20.9%, 43.5%, 0%, 25.1%)
CIE-LABlab(53.02, 33.30, -37.22)
CIE-LCHlch(53.02, 49.95, 311.82°)
OKLaboklab(60.85% 0.0776 -0.1036)
OKLCHoklch(60.85% 0.129 306.8)
XYZxyz(27.5272, 21.0663, 51.8961)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CBF #94BF6C
analogous
#6D6CBF #976CBF #BF6CBD
triadic
#976CBF #BF976C #6CBF97
tetradic
#976CBF #BF6D6C #94BF6C #6CBDBF
square
#976CBF #BF6D6C #94BF6C #6CBDBF
split-complementary
#976CBF #BDBF6C #6CBF6D
monochromatic
#5A367B #7948A6 #976CBF #B597D2 #D3C1E4

Accessibility & contrast

On white

4.03
#976CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#976CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CBF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CBF#FFFFFF#000000##000000
##976CBF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#637FBD
Tritanopia (blue-blind)
#91798C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976cbf;
/* rgb */ color: rgb(151, 108, 191);
/* oklch */ color: oklch(60.9% 0.129 306.8);
Tailwind
colors: {
  custom: {
    50: '#b797d2',
    500: '#976cbf',
    950: '#000000',
  },
}
SCSS
$custom: #976cbf;
$custom-light: #b797d2;
$custom-dark: #000000;
JSON
{
  "hex": "#976cbf",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 271.084,
    "s": 39.336,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60854,
    "c": 0.12947,
    "h": 306.8
  },
  "luminance": 0.21066
}

Semantic roles & 50–950 ramp

primary
#976CBF
secondary
#C3D4B3
accent
#CF5992
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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