#8727A4#8727A4

#8727A4 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 316.9°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8727A4
RGBrgb(135, 39, 164)
HSLhsl(286, 62%, 40%)
HSVhsv(286, 76%, 64%)
CMYKcmyk(17.7%, 76.2%, 0%, 35.7%)
CIE-LABlab(36.52, 57.60, -47.72)
CIE-LCHlch(36.52, 74.80, 320.36°)
OKLaboklab(47.84% 0.1438 -0.1344)
OKLCHoklch(47.84% 0.197 316.9)
XYZxyz(17.4170, 9.2830, 35.9891)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727A4 #44A427
analogous
#4927A4 #8727A4 #A42783
triadic
#8727A4 #A48727 #27A487
tetradic
#8727A4 #A44927 #44A427 #2783A4
square
#8727A4 #A44927 #44A427 #2783A4
split-complementary
#8727A4 #83A427 #27A449
monochromatic
#360F41 #5E1B73 #8727A4 #AD38D0 #C16ADC

Accessibility & contrast

On white

7.35
#8727A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8727A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8727A4#FFFFFF#000000##FFFFFF
##8727A41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2959A1
Tritanopia (blue-blind)
#854264
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8727a4;
/* rgb */ color: rgb(135, 39, 164);
/* oklch */ color: oklch(47.8% 0.197 316.9);
Tailwind
colors: {
  custom: {
    50: '#ae6cc0',
    500: '#8727a4',
    950: '#000000',
  },
}
SCSS
$custom: #8727a4;
$custom-light: #ae6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8727a4",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 286.08,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.19679,
    "h": 316.9
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#8727A4
secondary
#7BC265
accent
#E54369
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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