#8939AC#8939AC

#8939AC is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.5% C 0.183 H 313.8°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8939AC
RGBrgb(137, 57, 172)
HSLhsl(282, 50%, 45%)
HSVhsv(282, 67%, 67%)
CMYKcmyk(20.3%, 66.9%, 0%, 32.5%)
CIE-LABlab(39.95, 52.32, -46.97)
CIE-LCHlch(39.95, 70.31, 318.08°)
OKLaboklab(50.52% 0.1268 -0.1322)
OKLCHoklch(50.52% 0.183 313.8)
XYZxyz(19.2248, 11.2238, 40.1754)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939AC #5CAC39
analogous
#5039AC #8939AC #AC3996
triadic
#8939AC #AC8939 #39AC89
tetradic
#8939AC #AC5039 #5CAC39 #3996AC
square
#8939AC #AC5039 #5CAC39 #3996AC
split-complementary
#8939AC #96AC39 #39AC50
monochromatic
#401B50 #642A7E #8939AC #A75AC8 #BF88D8

Accessibility & contrast

On white

6.47
#8939AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8939AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939AC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939AC#FFFFFF#000000##FFFFFF
##8939AC1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#86506E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8939ac;
/* rgb */ color: rgb(137, 57, 172);
/* oklch */ color: oklch(50.5% 0.183 313.8);
Tailwind
colors: {
  custom: {
    50: '#af75c5',
    500: '#8939ac',
    950: '#000000',
  },
}
SCSS
$custom: #8939ac;
$custom-light: #af75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8939ac",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 281.739,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.18322,
    "h": 313.8
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#8939AC
secondary
#93C27F
accent
#DA4E79
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8939AC

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

Preview Lab → · Contrast checker → · Palette generator →

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