#8931AA#8931AA

#8931AA is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.192 H 315.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8931AA
RGBrgb(137, 49, 170)
HSLhsl(284, 55%, 43%)
HSVhsv(284, 71%, 67%)
CMYKcmyk(19.4%, 71.2%, 0%, 33.3%)
CIE-LABlab(38.58, 55.38, -47.99)
CIE-LCHlch(38.58, 73.28, 319.09°)
OKLaboklab(49.49% 0.1358 -0.1351)
OKLCHoklch(49.49% 0.192 315.1)
XYZxyz(18.6694, 10.4179, 39.0498)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931AA #52AA31
analogous
#4C31AA #8931AA #AA318F
triadic
#8931AA #AA8931 #31AA89
tetradic
#8931AA #AA4C31 #52AA31 #318FAA
square
#8931AA #AA4C31 #52AA31 #318FAA
split-complementary
#8931AA #8FAA31 #31AA4C
monochromatic
#3C164B #63237A #8931AA #A94DCC #C07CD9

Accessibility & contrast

On white

6.81
#8931AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8931AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8931AA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8931AA#FFFFFF#000000##FFFFFF
##8931AA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#2D5DA7
Tritanopia (blue-blind)
#864A6A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8931aa;
/* rgb */ color: rgb(137, 49, 170);
/* oklch */ color: oklch(49.5% 0.192 315.1);
Tailwind
colors: {
  custom: {
    50: '#af71c4',
    500: '#8931aa',
    950: '#000000',
  },
}
SCSS
$custom: #8931aa;
$custom-light: #af71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8931aa",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 283.636,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49493,
    "c": 0.19158,
    "h": 315.1
  },
  "luminance": 0.10417
}

Semantic roles & 50–950 ramp

primary
#8931AA
secondary
#8AC275
accent
#DF4972
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8931AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8931AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva