#976BBB#976BBB

#976BBB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.5% C 0.126 H 308.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#976BBB
RGBrgb(151, 107, 187)
HSLhsl(273, 37%, 58%)
HSVhsv(273, 43%, 73%)
CMYKcmyk(19.3%, 42.8%, 0%, 26.7%)
CIE-LABlab(52.60, 32.94, -35.58)
CIE-LCHlch(52.60, 48.49, 312.79°)
OKLaboklab(60.48% 0.0784 -0.0989)
OKLCHoklch(60.48% 0.126 308.4)
XYZxyz(26.9881, 20.6829, 49.5745)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976BBB #8FBB6B
analogous
#6F6BBB #976BBB #BB6BB7
triadic
#976BBB #BB976B #6BBB97
tetradic
#976BBB #BB6F6B #8FBB6B #6BB7BB
square
#976BBB #BB6F6B #8FBB6B #6BB7BB
split-complementary
#976BBB #B7BB6B #6BBB6F
monochromatic
#593676 #7949A0 #976BBB #B495CE #D2BFE2

Accessibility & contrast

On white

4.09
#976BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#976BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976BBB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976BBB#FFFFFF#000000##000000
##976BBB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#92778A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #976bbb;
/* rgb */ color: rgb(151, 107, 187);
/* oklch */ color: oklch(60.5% 0.126 308.4);
Tailwind
colors: {
  custom: {
    50: '#b796d0',
    500: '#976bbb',
    950: '#000000',
  },
}
SCSS
$custom: #976bbb;
$custom-light: #b796d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976bbb",
  "rgb": {
    "r": 151,
    "g": 107,
    "b": 187
  },
  "hsl": {
    "h": 273,
    "s": 37.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.12617,
    "h": 308.4
  },
  "luminance": 0.20683
}

Semantic roles & 50–950 ramp

primary
#976BBB
secondary
#BFD1B1
accent
#CD5B8E
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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