#8971AC#8971AC

#8971AC is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.4% C 0.092 H 302.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8971AC
RGBrgb(137, 113, 172)
HSLhsl(264, 26%, 56%)
HSVhsv(264, 34%, 67%)
CMYKcmyk(20.3%, 34.3%, 0%, 32.5%)
CIE-LABlab(51.96, 21.64, -28.02)
CIE-LCHlch(51.96, 35.40, 307.67°)
OKLaboklab(59.44% 0.0491 -0.0774)
OKLCHoklch(59.44% 0.092 302.4)
XYZxyz(23.6665, 20.1072, 41.6560)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8971AC #94AC71
analogous
#7176AC #8971AC #A671AC
triadic
#8971AC #AC8971 #71AC89
tetradic
#8971AC #AC7176 #94AC71 #71ACA6
square
#8971AC #AC7176 #94AC71 #71ACA6
split-complementary
#8971AC #ACA671 #76AC71
monochromatic
#4D3C67 #6A538D #8971AC #A998C3 #C9BED9

Accessibility & contrast

On white

4.18
#8971AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8971AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8971AC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8971AC#FFFFFF#000000##000000
##8971AC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647BAE
Deuteranopia (green-blind)
#697CAA
Tritanopia (blue-blind)
#837A87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8971ac;
/* rgb */ color: rgb(137, 113, 172);
/* oklch */ color: oklch(59.4% 0.092 302.4);
Tailwind
colors: {
  custom: {
    50: '#ac9ac5',
    500: '#8971ac',
    950: '#000000',
  },
}
SCSS
$custom: #8971ac;
$custom-light: #ac9ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#8971ac",
  "rgb": {
    "r": 137,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 264.407,
    "s": 26.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59437,
    "c": 0.09171,
    "h": 302.4
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#8971AC
secondary
#BFC9B0
accent
#C3659D
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100E13
muted
#7F7E82

Preview Lab

Preview with #8971AC

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

Preview Lab → · Contrast checker → · Palette generator →

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