#976BB7#976BB7

#976BB7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.3% C 0.121 H 309.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#976BB7
RGBrgb(151, 107, 183)
HSLhsl(275, 35%, 57%)
HSVhsv(275, 42%, 72%)
CMYKcmyk(17.5%, 41.5%, 0%, 28.2%)
CIE-LABlab(52.41, 32.03, -33.57)
CIE-LCHlch(52.41, 46.40, 313.65°)
OKLaboklab(60.27% 0.0776 -0.0931)
OKLCHoklch(60.27% 0.121 309.8)
XYZxyz(26.5659, 20.5140, 47.3507)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BB7 #8BB76B
analogous
#716BB7 #976BB7 #B76BB1
triadic
#976BB7 #B7976B #6BB797
tetradic
#976BB7 #B7716B #8BB76B #6BB1B7
square
#976BB7 #B7716B #8BB76B #6BB1B7
split-complementary
#976BB7 #B1B76B #6BB771
monochromatic
#583771 #794B9A #976BB7 #B494CB #D1BDDF

Accessibility & contrast

On white

4.12
#976BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#976BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BB7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BB7#FFFFFF#000000##000000
##976BB71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#937688
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976bb7;
/* rgb */ color: rgb(151, 107, 183);
/* oklch */ color: oklch(60.3% 0.121 309.8);
Tailwind
colors: {
  custom: {
    50: '#b796cd',
    500: '#976bb7',
    950: '#000000',
  },
}
SCSS
$custom: #976bb7;
$custom-light: #b796cd;
$custom-dark: #000000;
JSON
{
  "hex": "#976bb7",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 274.737,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60272,
    "c": 0.12119,
    "h": 309.8
  },
  "luminance": 0.20514
}

Semantic roles & 50–950 ramp

primary
#976BB7
secondary
#BCCEAF
accent
#CB5D8B
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #976BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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