#976EB9#976EB9

#976EB9 is a mid, moderate violet. Relative luminance 0.212; OKLCH L 60.9% C 0.118 H 308.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#976EB9
RGBrgb(151, 110, 185)
HSLhsl(273, 35%, 58%)
HSVhsv(273, 41%, 73%)
CMYKcmyk(18.4%, 40.5%, 0%, 27.5%)
CIE-LABlab(53.20, 30.77, -33.49)
CIE-LCHlch(53.20, 45.47, 312.58°)
OKLaboklab(60.9% 0.0736 -0.0929)
OKLCHoklch(60.9% 0.118 308.4)
XYZxyz(27.0937, 21.2343, 48.5608)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976EB9 #90B96E
analogous
#716EB9 #976EB9 #B96EB6
triadic
#976EB9 #B9976E #6EB997
tetradic
#976EB9 #B9716E #90B96E #6EB6B9
square
#976EB9 #B9716E #90B96E #6EB6B9
split-complementary
#976EB9 #B6B96E #6EB971
monochromatic
#593874 #794C9E #976EB9 #B597CD #D2C1E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##976EB9#FFFFFF#000000##000000
##976EB91.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)
#5E7DBC
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#93798B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #976eb9;
/* rgb */ color: rgb(151, 110, 185);
/* oklch */ color: oklch(60.9% 0.118 308.4);
Tailwind
colors: {
  custom: {
    50: '#b798ce',
    500: '#976eb9',
    950: '#000000',
  },
}
SCSS
$custom: #976eb9;
$custom-light: #b798ce;
$custom-dark: #000000;
JSON
{
  "hex": "#976eb9",
  "rgb": {
    "r": 151,
    "g": 110,
    "b": 185
  },
  "hsl": {
    "h": 272.8,
    "s": 34.884,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60899,
    "c": 0.11847,
    "h": 308.4
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#976EB9
secondary
#C0D0B2
accent
#CB5D8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E13
muted
#807E82

Preview Lab

Preview with #976EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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