#8939AF#8939AF

#8939AF is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 312.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8939AF
RGBrgb(137, 57, 175)
HSLhsl(281, 51%, 45%)
HSVhsv(281, 67%, 69%)
CMYKcmyk(21.7%, 67.4%, 0%, 31.4%)
CIE-LABlab(40.15, 52.96, -48.45)
CIE-LCHlch(40.15, 71.78, 317.55°)
OKLaboklab(50.72% 0.1267 -0.1365)
OKLCHoklch(50.72% 0.186 312.9)
XYZxyz(19.5162, 11.3403, 41.7100)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8939AF #5FAF39
analogous
#4E39AF #8939AF #AF399A
triadic
#8939AF #AF8939 #39AF89
tetradic
#8939AF #AF4E39 #5FAF39 #399AAF
square
#8939AF #AF4E39 #5FAF39 #399AAF
split-complementary
#8939AF #9AAF39 #39AF4E
monochromatic
#411B53 #652A81 #8939AF #A65BCA #BF8AD9

Accessibility & contrast

On white

6.43
#8939AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8939AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8939AF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8939AF#FFFFFF#000000##FFFFFF
##8939AF1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#85516F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8939af;
/* rgb */ color: rgb(137, 57, 175);
/* oklch */ color: oklch(50.7% 0.186 312.9);
Tailwind
colors: {
  custom: {
    50: '#af75c7',
    500: '#8939af',
    950: '#000000',
  },
}
SCSS
$custom: #8939af;
$custom-light: #af75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8939af",
  "rgb": {
    "r": 137,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 280.678,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50717,
    "c": 0.18623,
    "h": 312.9
  },
  "luminance": 0.1134
}

Semantic roles & 50–950 ramp

primary
#8939AF
secondary
#96C381
accent
#DA4D7B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8939AF

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

Preview Lab → · Contrast checker → · Palette generator →

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