#8976BF#8976BF

#8976BF is a mid, moderate violet. Relative luminance 0.220; OKLCH L 61.3% C 0.110 H 294.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8976BF
RGBrgb(137, 118, 191)
HSLhsl(256, 36%, 61%)
HSVhsv(256, 38%, 75%)
CMYKcmyk(28.3%, 38.2%, 0%, 25.1%)
CIE-LABlab(54.07, 23.38, -35.68)
CIE-LCHlch(54.07, 42.66, 303.24°)
OKLaboklab(61.32% 0.0463 -0.0995)
OKLCHoklch(61.32% 0.11 294.9)
XYZxyz(26.1967, 22.0365, 52.1534)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976BF #ACBF76
analogous
#7688BF #8976BF #AD76BF
triadic
#8976BF #BF8976 #76BF89
tetradic
#8976BF #BF7688 #ACBF76 #76BFAD
square
#8976BF #BF7688 #ACBF76 #76BFAD
split-complementary
#8976BF #BFAD76 #88BF76
monochromatic
#4D3B7F #664FA9 #8976BF #ADA0D2 #D1C9E6

Accessibility & contrast

On white

3.88
#8976BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8976BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976BF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976BF#FFFFFF#000000##000000
##8976BF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6282C2
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#7E8391
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8976bf;
/* rgb */ color: rgb(137, 118, 191);
/* oklch */ color: oklch(61.3% 0.110 294.9);
Tailwind
colors: {
  custom: {
    50: '#ad9dd2',
    500: '#8976bf',
    950: '#000000',
  },
}
SCSS
$custom: #8976bf;
$custom-light: #ad9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#8976bf",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 191
  },
  "hsl": {
    "h": 255.616,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61324,
    "c": 0.10975,
    "h": 294.9
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#8976BF
secondary
#CFD6BB
accent
#AF3690
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8976BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8976BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva