#8727A1#8727A1

#8727A1 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.194 H 318.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8727A1
RGBrgb(135, 39, 161)
HSLhsl(287, 61%, 39%)
HSVhsv(287, 76%, 63%)
CMYKcmyk(16.1%, 75.8%, 0%, 36.9%)
CIE-LABlab(36.32, 57.01, -46.24)
CIE-LCHlch(36.32, 73.41, 320.95°)
OKLaboklab(47.63% 0.1442 -0.13)
OKLCHoklch(47.63% 0.194 318)
XYZxyz(17.1493, 9.1759, 34.5791)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727A1 #41A127
analogous
#4A27A1 #8727A1 #A1277E
triadic
#8727A1 #A18727 #27A187
tetradic
#8727A1 #A14A27 #41A127 #277EA1
square
#8727A1 #A14A27 #41A127 #277EA1
split-complementary
#8727A1 #7EA127 #27A14A
monochromatic
#340F3E #5E1B70 #8727A1 #AE37CE #C268DA

Accessibility & contrast

On white

7.41
#8727A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8727A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8727A1#FFFFFF#000000##FFFFFF
##8727A11.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#2C589E
Tritanopia (blue-blind)
#864163
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8727a1;
/* rgb */ color: rgb(135, 39, 161);
/* oklch */ color: oklch(47.6% 0.194 318.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cbd',
    500: '#8727a1',
    950: '#000000',
  },
}
SCSS
$custom: #8727a1;
$custom-light: #ae6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8727a1",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 161
  },
  "hsl": {
    "h": 287.213,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.19413,
    "h": 318
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#8727A1
secondary
#77C063
accent
#E44466
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8727A1

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

Preview Lab → · Contrast checker → · Palette generator →

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