#976CB5#976CB5

#976CB5 is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.3% C 0.117 H 310.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#976CB5
RGBrgb(151, 108, 181)
HSLhsl(275, 33%, 57%)
HSVhsv(275, 40%, 71%)
CMYKcmyk(16.6%, 40.3%, 0%, 29%)
CIE-LABlab(52.55, 31.00, -32.20)
CIE-LCHlch(52.55, 44.70, 313.92°)
OKLaboklab(60.35% 0.0757 -0.0891)
OKLCHoklch(60.35% 0.117 310.3)
XYZxyz(26.4640, 20.6410, 46.2971)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CB5 #8AB56C
analogous
#736CB5 #976CB5 #B56CAF
triadic
#976CB5 #B5976C #6CB597
tetradic
#976CB5 #B5736C #8AB56C #6CAFB5
square
#976CB5 #B5736C #8AB56C #6CAFB5
split-complementary
#976CB5 #AFB56C #6CB573
monochromatic
#58386F #794C98 #976CB5 #B495C9 #D1BDDE

Accessibility & contrast

On white

4.10
#976CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#976CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CB5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CB5#FFFFFF#000000##000000
##976CB51.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB8
Deuteranopia (green-blind)
#687EB3
Tritanopia (blue-blind)
#947788
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976cb5;
/* rgb */ color: rgb(151, 108, 181);
/* oklch */ color: oklch(60.3% 0.117 310.3);
Tailwind
colors: {
  custom: {
    50: '#b797cb',
    500: '#976cb5',
    950: '#000000',
  },
}
SCSS
$custom: #976cb5;
$custom-light: #b797cb;
$custom-dark: #000000;
JSON
{
  "hex": "#976cb5",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 275.342,
    "s": 33.032,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60349,
    "c": 0.11695,
    "h": 310.3
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#976CB5
secondary
#BCCDAF
accent
#C95F8A
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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