#976BB9#976BB9

#976BB9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.4% C 0.124 H 309.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#976BB9
RGBrgb(151, 107, 185)
HSLhsl(274, 36%, 57%)
HSVhsv(274, 42%, 73%)
CMYKcmyk(18.4%, 42.2%, 0%, 27.5%)
CIE-LABlab(52.51, 32.48, -34.58)
CIE-LCHlch(52.51, 47.44, 313.21°)
OKLaboklab(60.37% 0.078 -0.096)
OKLCHoklch(60.37% 0.124 309.1)
XYZxyz(26.7755, 20.5978, 48.4548)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB9 #8DB96B
analogous
#706BB9 #976BB9 #B96BB4
triadic
#976BB9 #B9976B #6BB997
tetradic
#976BB9 #B9706B #8DB96B #6BB4B9
square
#976BB9 #B9706B #8DB96B #6BB4B9
split-complementary
#976BB9 #B4B96B #6BB970
monochromatic
#593673 #794A9D #976BB9 #B495CD #D1BEE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976BB9#FFFFFF#000000##000000
##976BB91.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)
#5A7BBC
Deuteranopia (green-blind)
#657EB7
Tritanopia (blue-blind)
#937789
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976bb9;
/* rgb */ color: rgb(151, 107, 185);
/* oklch */ color: oklch(60.4% 0.124 309.1);
Tailwind
colors: {
  custom: {
    50: '#b796ce',
    500: '#976bb9',
    950: '#000000',
  },
}
SCSS
$custom: #976bb9;
$custom-light: #b796ce;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb9",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 185
  },
  "hsl": {
    "h": 273.846,
    "s": 35.78,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.12368,
    "h": 309.1
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#976BB9
secondary
#BED0B0
accent
#CC5C8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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