#8972BC#8972BC

#8972BC is a mid, moderate violet. Relative luminance 0.210; OKLCH L 60.4% C 0.112 H 297.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8972BC
RGBrgb(137, 114, 188)
HSLhsl(259, 36%, 59%)
HSVhsv(259, 39%, 74%)
CMYKcmyk(27.1%, 39.4%, 0%, 26.3%)
CIE-LABlab(52.93, 24.98, -35.74)
CIE-LCHlch(52.93, 43.60, 304.95°)
OKLaboklab(60.42% 0.0513 -0.0997)
OKLCHoklch(60.42% 0.112 297.2)
XYZxyz(25.4088, 20.9836, 50.2788)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8972BC #A5BC72
analogous
#7280BC #8972BC #AE72BC
triadic
#8972BC #BC8972 #72BC89
tetradic
#8972BC #BC7280 #A5BC72 #72BCAE
square
#8972BC #BC7280 #A5BC72 #72BCAE
split-complementary
#8972BC #BCAE72 #80BC72
monochromatic
#4E3A7A #684EA3 #8972BC #AC9BD0 #CEC5E3

Accessibility & contrast

On white

4.04
#8972BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8972BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8972BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8972BC#FFFFFF#000000##000000
##8972BC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#7F7F8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8972bc;
/* rgb */ color: rgb(137, 114, 188);
/* oklch */ color: oklch(60.4% 0.112 297.2);
Tailwind
colors: {
  custom: {
    50: '#ad9ad0',
    500: '#8972bc',
    950: '#000000',
  },
}
SCSS
$custom: #8972bc;
$custom-light: #ad9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8972bc",
  "rgb": {
    "r": 137,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 258.649,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60416,
    "c": 0.11212,
    "h": 297.2
  },
  "luminance": 0.20984
}

Semantic roles & 50–950 ramp

primary
#8972BC
secondary
#CAD3B6
accent
#CC5CA9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #8972BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8972BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva