#976FBB#976FBB

#976FBB is a mid, moderate violet. Relative luminance 0.215; OKLCH L 61.2% C 0.119 H 307.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#976FBB
RGBrgb(151, 111, 187)
HSLhsl(272, 36%, 58%)
HSVhsv(272, 41%, 73%)
CMYKcmyk(19.3%, 40.6%, 0%, 26.7%)
CIE-LABlab(53.53, 30.65, -34.13)
CIE-LCHlch(53.53, 45.87, 311.93°)
OKLaboklab(61.18% 0.0725 -0.0947)
OKLCHoklch(61.18% 0.119 307.4)
XYZxyz(27.4148, 21.5363, 49.7168)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976FBB #93BB6F
analogous
#716FBB #976FBB #BB6FB9
triadic
#976FBB #BB976F #6FBB97
tetradic
#976FBB #BB716F #93BB6F #6FB9BB
square
#976FBB #BB716F #93BB6F #6FB9BB
split-complementary
#976FBB #B9BB6F #6FBB71
monochromatic
#593877 #794CA1 #976FBB #B599CF #D3C2E2

Accessibility & contrast

On white

3.96
#976FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#976FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976FBB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976FBB#FFFFFF#000000##000000
##976FBB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBE
Deuteranopia (green-blind)
#6880B9
Tritanopia (blue-blind)
#927B8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #976fbb;
/* rgb */ color: rgb(151, 111, 187);
/* oklch */ color: oklch(61.2% 0.119 307.4);
Tailwind
colors: {
  custom: {
    50: '#b799cf',
    500: '#976fbb',
    950: '#000000',
  },
}
SCSS
$custom: #976fbb;
$custom-light: #b799cf;
$custom-dark: #000000;
JSON
{
  "hex": "#976fbb",
  "rgb": {
    "r": 151,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 271.579,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.11927,
    "h": 307.4
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#976FBB
secondary
#C2D2B4
accent
#CC5C91
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #976FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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