#976DBE#976DBE

#976DBE is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.0% C 0.127 H 306.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#976DBE
RGBrgb(151, 109, 190)
HSLhsl(271, 38%, 59%)
HSVhsv(271, 43%, 75%)
CMYKcmyk(20.5%, 42.6%, 0%, 25.5%)
CIE-LABlab(53.21, 32.50, -36.36)
CIE-LCHlch(53.21, 48.77, 311.79°)
OKLaboklab(60.98% 0.076 -0.1011)
OKLCHoklch(60.98% 0.127 306.9)
XYZxyz(27.5236, 21.2345, 51.3539)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DBE #94BE6D
analogous
#6E6DBE #976DBE #BE6DBC
triadic
#976DBE #BE976D #6DBE97
tetradic
#976DBE #BE6E6D #94BE6D #6DBCBE
square
#976DBE #BE6E6D #94BE6D #6DBCBE
split-complementary
#976DBE #BCBE6D #6DBE6E
monochromatic
#5A367A #7949A5 #976DBE #B597D1 #D3C2E4

Accessibility & contrast

On white

4.00
#976DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#976DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DBE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DBE#FFFFFF#000000##000000
##976DBE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#917A8C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976dbe;
/* rgb */ color: rgb(151, 109, 190);
/* oklch */ color: oklch(61.0% 0.127 306.9);
Tailwind
colors: {
  custom: {
    50: '#b797d2',
    500: '#976dbe',
    950: '#000000',
  },
}
SCSS
$custom: #976dbe;
$custom-light: #b797d2;
$custom-dark: #000000;
JSON
{
  "hex": "#976dbe",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 271.111,
    "s": 38.389,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.12651,
    "h": 306.9
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#976DBE
secondary
#C3D3B3
accent
#CE5992
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #976DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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