#8731AD#8731AD

#8731AD is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.194 H 313.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8731AD
RGBrgb(135, 49, 173)
HSLhsl(282, 56%, 44%)
HSVhsv(282, 72%, 68%)
CMYKcmyk(22%, 71.7%, 0%, 32.2%)
CIE-LABlab(38.49, 55.58, -49.94)
CIE-LCHlch(38.49, 74.72, 318.06°)
OKLaboklab(49.43% 0.1329 -0.1409)
OKLCHoklch(49.43% 0.194 313.3)
XYZxyz(18.6315, 10.3652, 40.5463)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8731AD #57AD31
analogous
#4931AD #8731AD #AD3195
triadic
#8731AD #AD8731 #31AD87
tetradic
#8731AD #AD4931 #57AD31 #3195AD
square
#8731AD #AD4931 #57AD31 #3195AD
split-complementary
#8731AD #95AD31 #31AD49
monochromatic
#3D164E #62237D #8731AD #A64ECD #BE7EDA

Accessibility & contrast

On white

6.83
#8731AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8731AD#FFFFFF#000000##FFFFFF
##8731AD1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#275DAA
Tritanopia (blue-blind)
#834B6C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8731ad;
/* rgb */ color: rgb(135, 49, 173);
/* oklch */ color: oklch(49.4% 0.194 313.3);
Tailwind
colors: {
  custom: {
    50: '#ae71c6',
    500: '#8731ad',
    950: '#000000',
  },
}
SCSS
$custom: #8731ad;
$custom-light: #ae71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8731ad",
  "rgb": {
    "r": 135,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 281.613,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.19372,
    "h": 313.3
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#8731AD
secondary
#8EC377
accent
#DF4977
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8731AD

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

Preview Lab → · Contrast checker → · Palette generator →

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