#8976AC#8976AC

#8976AC is a mid, moderate violet. Relative luminance 0.213; OKLCH L 60.4% C 0.083 H 300.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8976AC
RGBrgb(137, 118, 172)
HSLhsl(261, 25%, 57%)
HSVhsv(261, 31%, 67%)
CMYKcmyk(20.3%, 31.4%, 0%, 32.5%)
CIE-LABlab(53.23, 18.69, -26.06)
CIE-LCHlch(53.23, 32.07, 305.65°)
OKLaboklab(60.41% 0.0416 -0.0719)
OKLCHoklch(60.41% 0.083 300.1)
XYZxyz(24.2398, 21.2537, 41.8471)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8976AC #99AC76
analogous
#767EAC #8976AC #A476AC
triadic
#8976AC #AC8976 #76AC89
tetradic
#8976AC #AC767E #99AC76 #76ACA4
square
#8976AC #AC767E #99AC76 #76ACA4
split-complementary
#8976AC #ACA476 #7EAC76
monochromatic
#4E3F68 #6A568E #8976AC #AA9CC3 #CBC2DA

Accessibility & contrast

On white

4.00
#8976AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#8976AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8976AC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8976AC#FFFFFF#000000##000000
##8976AC1.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)
#6A7FAE
Deuteranopia (green-blind)
#6D7FAA
Tritanopia (blue-blind)
#837E89
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8976ac;
/* rgb */ color: rgb(137, 118, 172);
/* oklch */ color: oklch(60.4% 0.083 300.1);
Tailwind
colors: {
  custom: {
    50: '#ac9dc5',
    500: '#8976ac',
    950: '#000000',
  },
}
SCSS
$custom: #8976ac;
$custom-light: #ac9dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8976ac",
  "rgb": {
    "r": 137,
    "g": 118,
    "b": 172
  },
  "hsl": {
    "h": 261.111,
    "s": 24.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60407,
    "c": 0.08305,
    "h": 300.1
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#8976AC
secondary
#C2CAB4
accent
#C167A1
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E12
muted
#7F7E81

Preview Lab

Preview with #8976AC

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

Preview Lab → · Contrast checker → · Palette generator →

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