#8727AE#8727AE

#8727AE is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.206 H 313.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8727AE
RGBrgb(135, 39, 174)
HSLhsl(283, 63%, 42%)
HSVhsv(283, 78%, 68%)
CMYKcmyk(22.4%, 77.6%, 0%, 31.8%)
CIE-LABlab(37.22, 59.60, -52.58)
CIE-LCHlch(37.22, 79.48, 318.58°)
OKLaboklab(48.56% 0.1422 -0.1486)
OKLCHoklch(48.56% 0.206 313.7)
XYZxyz(18.3558, 9.6585, 40.9335)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AE #4EAE27
analogous
#4427AE #8727AE #AE2792
triadic
#8727AE #AE8727 #27AE87
tetradic
#8727AE #AE4427 #4EAE27 #2792AE
square
#8727AE #AE4427 #4EAE27 #2792AE
split-complementary
#8727AE #92AE27 #27AE44
monochromatic
#39114A #601C7C #8727AE #A93ED4 #BF70DF

Accessibility & contrast

On white

7.16
#8727AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8727AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8727AE#FFFFFF#000000##FFFFFF
##8727AE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#195AAB
Tritanopia (blue-blind)
#83476A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8727ae;
/* rgb */ color: rgb(135, 39, 174);
/* oklch */ color: oklch(48.6% 0.206 313.7);
Tailwind
colors: {
  custom: {
    50: '#ae6cc7',
    500: '#8727ae',
    950: '#000000',
  },
}
SCSS
$custom: #8727ae;
$custom-light: #ae6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8727ae",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 282.667,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48555,
    "c": 0.20571,
    "h": 313.7
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#8727AE
secondary
#85C66B
accent
#E64171
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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