#8727AA#8727AA

#8727AA is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.202 H 315.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8727AA
RGBrgb(135, 39, 170)
HSLhsl(284, 63%, 41%)
HSVhsv(284, 77%, 67%)
CMYKcmyk(20.6%, 77.1%, 0%, 33.3%)
CIE-LABlab(36.94, 58.80, -50.65)
CIE-LCHlch(36.94, 77.61, 319.26°)
OKLaboklab(48.27% 0.1429 -0.1429)
OKLCHoklch(48.27% 0.202 315)
XYZxyz(17.9717, 9.5049, 38.9104)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AA #4AAA27
analogous
#4527AA #8727AA #AA278B
triadic
#8727AA #AA8727 #27AA87
tetradic
#8727AA #AA4527 #4AAA27 #278BAA
square
#8727AA #AA4527 #4AAA27 #278BAA
split-complementary
#8727AA #8BAA27 #27AA45
monochromatic
#381046 #5F1C78 #8727AA #AA3CD2 #C06EDE

Accessibility & contrast

On white

7.24
#8727AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8727AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727AA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727AA#FFFFFF#000000##FFFFFF
##8727AA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#844568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8727aa;
/* rgb */ color: rgb(135, 39, 170);
/* oklch */ color: oklch(48.3% 0.202 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cc4',
    500: '#8727aa',
    950: '#000000',
  },
}
SCSS
$custom: #8727aa;
$custom-light: #ae6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8727aa",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 283.969,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.20213,
    "h": 315
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#8727AA
secondary
#81C469
accent
#E6426E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8727AA

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

Preview Lab → · Contrast checker → · Palette generator →

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