#976DBB#976DBB

#976DBB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.8% C 0.123 H 307.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#976DBB
RGBrgb(151, 109, 187)
HSLhsl(272, 36%, 58%)
HSVhsv(272, 42%, 73%)
CMYKcmyk(19.3%, 41.7%, 0%, 26.7%)
CIE-LABlab(53.06, 31.80, -34.86)
CIE-LCHlch(53.06, 47.18, 312.37°)
OKLaboklab(60.82% 0.0754 -0.0968)
OKLCHoklch(60.82% 0.123 307.9)
XYZxyz(27.1991, 21.1047, 49.6448)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DBB #91BB6D
analogous
#706DBB #976DBB #BB6DB8
triadic
#976DBB #BB976D #6DBB97
tetradic
#976DBB #BB706D #91BB6D #6DB8BB
square
#976DBB #BB706D #91BB6D #6DB8BB
split-complementary
#976DBB #B8BB6D #6DBB70
monochromatic
#593776 #794BA0 #976DBB #B597CE #D2C1E2

Accessibility & contrast

On white

4.02
#976DBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#976DBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DBB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DBB#FFFFFF#000000##000000
##976DBB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#667FB9
Tritanopia (blue-blind)
#92798B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976dbb;
/* rgb */ color: rgb(151, 109, 187);
/* oklch */ color: oklch(60.8% 0.123 307.9);
Tailwind
colors: {
  custom: {
    50: '#b797d0',
    500: '#976dbb',
    950: '#000000',
  },
}
SCSS
$custom: #976dbb;
$custom-light: #b797d0;
$custom-dark: #000000;
JSON
{
  "hex": "#976dbb",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 187
  },
  "hsl": {
    "h": 272.308,
    "s": 36.449,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.12273,
    "h": 307.9
  },
  "luminance": 0.21104
}

Semantic roles & 50–950 ramp

primary
#976DBB
secondary
#C1D1B2
accent
#CC5B90
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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