#8727AC#8727AC

#8727AC is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.204 H 314.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8727AC
RGBrgb(135, 39, 172)
HSLhsl(283, 63%, 41%)
HSVhsv(283, 77%, 67%)
CMYKcmyk(21.5%, 77.3%, 0%, 32.5%)
CIE-LABlab(37.08, 59.20, -51.62)
CIE-LCHlch(37.08, 78.54, 318.91°)
OKLaboklab(48.41% 0.1426 -0.1458)
OKLCHoklch(48.41% 0.204 314.4)
XYZxyz(18.1623, 9.5811, 39.9143)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AC #4CAC27
analogous
#4527AC #8727AC #AC278F
triadic
#8727AC #AC8727 #27AC87
tetradic
#8727AC #AC4527 #4CAC27 #278FAC
square
#8727AC #AC4527 #4CAC27 #278FAC
split-complementary
#8727AC #8FAC27 #27AC45
monochromatic
#391048 #601C7A #8727AC #A93DD3 #BF6FDE

Accessibility & contrast

On white

7.20
#8727AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8727AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8727AC#FFFFFF#000000##FFFFFF
##8727AC1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#1D59A9
Tritanopia (blue-blind)
#844669
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8727ac;
/* rgb */ color: rgb(135, 39, 172);
/* oklch */ color: oklch(48.4% 0.204 314.4);
Tailwind
colors: {
  custom: {
    50: '#ae6cc5',
    500: '#8727ac',
    950: '#000000',
  },
}
SCSS
$custom: #8727ac;
$custom-light: #ae6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8727ac",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 283.308,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48409,
    "c": 0.20391,
    "h": 314.4
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#8727AC
secondary
#83C56A
accent
#E6426F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727AC

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

Preview Lab → · Contrast checker → · Palette generator →

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