#976CB4#976CB4

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

Color values

HEX#976CB4
RGBrgb(151, 108, 180)
HSLhsl(276, 32%, 56%)
HSVhsv(276, 40%, 71%)
CMYKcmyk(16.1%, 40%, 0%, 29.4%)
CIE-LABlab(52.51, 30.78, -31.69)
CIE-LCHlch(52.51, 44.17, 314.16°)
OKLaboklab(60.3% 0.0755 -0.0877)
OKLCHoklch(60.3% 0.116 310.7)
XYZxyz(26.3618, 20.6001, 45.7587)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976CB4 #89B46C
analogous
#736CB4 #976CB4 #B46CAD
triadic
#976CB4 #B4976C #6CB497
tetradic
#976CB4 #B4736C #89B46C #6CADB4
square
#976CB4 #B4736C #89B46C #6CADB4
split-complementary
#976CB4 #ADB46C #6CB473
monochromatic
#58386E #794D96 #976CB4 #B495C9 #D0BDDD

Accessibility & contrast

On white

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

On black

5.12
#976CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976CB4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976CB4#FFFFFF#000000##000000
##976CB41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#687EB2
Tritanopia (blue-blind)
#947687
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976cb4;
/* rgb */ color: rgb(151, 108, 180);
/* oklch */ color: oklch(60.3% 0.116 310.7);
Tailwind
colors: {
  custom: {
    50: '#b797ca',
    500: '#976cb4',
    950: '#000000',
  },
}
SCSS
$custom: #976cb4;
$custom-light: #b797ca;
$custom-dark: #000000;
JSON
{
  "hex": "#976cb4",
  "rgb": {
    "r": 151,
    "g": 108,
    "b": 180
  },
  "hsl": {
    "h": 275.833,
    "s": 32.432,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.11571,
    "h": 310.7
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #976CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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