#8731AC#8731AC

#8731AC is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.193 H 313.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8731AC
RGBrgb(135, 49, 172)
HSLhsl(282, 56%, 43%)
HSVhsv(282, 72%, 67%)
CMYKcmyk(21.5%, 71.5%, 0%, 32.5%)
CIE-LABlab(38.42, 55.37, -49.45)
CIE-LCHlch(38.42, 74.24, 318.23°)
OKLaboklab(49.36% 0.133 -0.1395)
OKLCHoklch(49.36% 0.193 313.6)
XYZxyz(18.5351, 10.3267, 40.0386)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731AC #56AC31
analogous
#4931AC #8731AC #AC3193
triadic
#8731AC #AC8731 #31AC87
tetradic
#8731AC #AC4931 #56AC31 #3193AC
square
#8731AC #AC4931 #56AC31 #3193AC
split-complementary
#8731AC #93AC31 #31AC49
monochromatic
#3C164D #62237C #8731AC #A64ECC #BE7DDA

Accessibility & contrast

On white

6.85
#8731AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8731AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8731AC#FFFFFF#000000##FFFFFF
##8731AC1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#285CA9
Tritanopia (blue-blind)
#834B6B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8731ac;
/* rgb */ color: rgb(135, 49, 172);
/* oklch */ color: oklch(49.4% 0.193 313.6);
Tailwind
colors: {
  custom: {
    50: '#ae71c5',
    500: '#8731ac',
    950: '#000000',
  },
}
SCSS
$custom: #8731ac;
$custom-light: #ae71c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8731ac",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 281.951,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49361,
    "c": 0.19276,
    "h": 313.6
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#8731AC
secondary
#8DC376
accent
#DF4976
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8731AC

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

Preview Lab → · Contrast checker → · Palette generator →

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