#8931AB#8931AB

#8931AB is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.193 H 314.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8931AB
RGBrgb(137, 49, 171)
HSLhsl(283, 55%, 43%)
HSVhsv(283, 71%, 67%)
CMYKcmyk(19.9%, 71.3%, 0%, 32.9%)
CIE-LABlab(38.65, 55.59, -48.48)
CIE-LCHlch(38.65, 73.76, 318.91°)
OKLaboklab(49.56% 0.1357 -0.1366)
OKLCHoklch(49.56% 0.193 314.8)
XYZxyz(18.7643, 10.4559, 39.5499)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8931AB #53AB31
analogous
#4C31AB #8931AB #AB3190
triadic
#8931AB #AB8931 #31AB89
tetradic
#8931AB #AB4C31 #53AB31 #3190AB
square
#8931AB #AB4C31 #53AB31 #3190AB
split-complementary
#8931AB #90AB31 #31AB4C
monochromatic
#3D164C #63237B #8931AB #A94DCC #C07DDA

Accessibility & contrast

On white

6.79
#8931AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8931AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8931AB#FFFFFF#000000##FFFFFF
##8931AB1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#864A6B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8931ab;
/* rgb */ color: rgb(137, 49, 171);
/* oklch */ color: oklch(49.6% 0.193 314.8);
Tailwind
colors: {
  custom: {
    50: '#af71c5',
    500: '#8931ab',
    950: '#000000',
  },
}
SCSS
$custom: #8931ab;
$custom-light: #af71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8931ab",
  "rgb": {
    "r": 137,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 283.279,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.19252,
    "h": 314.8
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#8931AB
secondary
#8BC275
accent
#DF4973
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8931AB

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

Preview Lab → · Contrast checker → · Palette generator →

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