#8727AB#8727AB

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

Color values

HEX#8727AB
RGBrgb(135, 39, 171)
HSLhsl(284, 63%, 41%)
HSVhsv(284, 77%, 67%)
CMYKcmyk(21.1%, 77.2%, 0%, 32.9%)
CIE-LABlab(37.01, 59.00, -51.14)
CIE-LCHlch(37.01, 78.08, 319.08°)
OKLaboklab(48.34% 0.1427 -0.1444)
OKLCHoklch(48.34% 0.203 314.7)
XYZxyz(18.0667, 9.5429, 39.4105)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AB #4BAB27
analogous
#4527AB #8727AB #AB278D
triadic
#8727AB #AB8727 #27AB87
tetradic
#8727AB #AB4527 #4BAB27 #278DAB
square
#8727AB #AB4527 #4BAB27 #278DAB
split-complementary
#8727AB #8DAB27 #27AB45
monochromatic
#381047 #601C79 #8727AB #AA3DD3 #C06EDE

Accessibility & contrast

On white

7.22
#8727AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8727AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8727AB#FFFFFF#000000##FFFFFF
##8727AB1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1F59A8
Tritanopia (blue-blind)
#844568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8727ab;
/* rgb */ color: rgb(135, 39, 171);
/* oklch */ color: oklch(48.3% 0.203 314.7);
Tailwind
colors: {
  custom: {
    50: '#ae6cc5',
    500: '#8727ab',
    950: '#000000',
  },
}
SCSS
$custom: #8727ab;
$custom-light: #ae6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8727ab",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 283.636,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.20302,
    "h": 314.7
  },
  "luminance": 0.09542
}

Semantic roles & 50–950 ramp

primary
#8727AB
secondary
#82C569
accent
#E6426F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727AB

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

Preview Lab → · Contrast checker → · Palette generator →

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