#976DB2#976DB2

#976DB2 is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.4% C 0.111 H 311.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#976DB2
RGBrgb(151, 109, 178)
HSLhsl(277, 31%, 56%)
HSVhsv(277, 39%, 70%)
CMYKcmyk(15.2%, 38.8%, 0%, 30.2%)
CIE-LABlab(52.65, 29.75, -30.31)
CIE-LCHlch(52.65, 42.47, 314.47°)
OKLaboklab(60.38% 0.0736 -0.0837)
OKLCHoklch(60.38% 0.111 311.3)
XYZxyz(26.2656, 20.7314, 44.7287)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#976DB2 #88B26D
analogous
#756DB2 #976DB2 #B26DAB
triadic
#976DB2 #B2976D #6DB297
tetradic
#976DB2 #B2756D #88B26D #6DABB2
square
#976DB2 #B2756D #88B26D #6DABB2
split-complementary
#976DB2 #ABB26D #6DB275
monochromatic
#58396C #784E94 #976DB2 #B495C7 #D0BDDC

Accessibility & contrast

On white

4.08
#976DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#976DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #976DB2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##976DB2#FFFFFF#000000##000000
##976DB21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB5
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#947787
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #976db2;
/* rgb */ color: rgb(151, 109, 178);
/* oklch */ color: oklch(60.4% 0.111 311.3);
Tailwind
colors: {
  custom: {
    50: '#b697c9',
    500: '#976db2',
    950: '#000000',
  },
}
SCSS
$custom: #976db2;
$custom-light: #b697c9;
$custom-dark: #000000;
JSON
{
  "hex": "#976db2",
  "rgb": {
    "r": 151,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 276.522,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.11146,
    "h": 311.3
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#976DB2
secondary
#BACCAF
accent
#C76189
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #976DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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