#8731AA#8731AA

#8731AA is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.191 H 314.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8731AA
RGBrgb(135, 49, 170)
HSLhsl(283, 55%, 43%)
HSVhsv(283, 71%, 67%)
CMYKcmyk(20.6%, 71.2%, 0%, 33.3%)
CIE-LABlab(38.29, 54.95, -48.48)
CIE-LCHlch(38.29, 73.28, 318.58°)
OKLaboklab(49.22% 0.1332 -0.1366)
OKLCHoklch(49.22% 0.191 314.3)
XYZxyz(18.3445, 10.2504, 39.0346)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731AA #54AA31
analogous
#4B31AA #8731AA #AA3190
triadic
#8731AA #AA8731 #31AA87
tetradic
#8731AA #AA4B31 #54AA31 #3190AA
square
#8731AA #AA4B31 #54AA31 #3190AA
split-complementary
#8731AA #90AA31 #31AA4B
monochromatic
#3C164B #61237A #8731AA #A74DCC #BE7CD9

Accessibility & contrast

On white

6.89
#8731AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8731AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8731AA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8731AA#FFFFFF#000000##FFFFFF
##8731AA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#844A6A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8731aa;
/* rgb */ color: rgb(135, 49, 170);
/* oklch */ color: oklch(49.2% 0.191 314.3);
Tailwind
colors: {
  custom: {
    50: '#ae71c4',
    500: '#8731aa',
    950: '#000000',
  },
}
SCSS
$custom: #8731aa;
$custom-light: #ae71c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8731aa",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 282.645,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49222,
    "c": 0.19084,
    "h": 314.3
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#8731AA
secondary
#8BC275
accent
#DF4974
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8731AA

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

Preview Lab → · Contrast checker → · Palette generator →

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