#8727A9#8727A9

#8727A9 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.2% C 0.201 H 315.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8727A9
RGBrgb(135, 39, 169)
HSLhsl(284, 63%, 41%)
HSVhsv(284, 77%, 66%)
CMYKcmyk(20.1%, 76.9%, 0%, 33.7%)
CIE-LABlab(36.87, 58.60, -50.17)
CIE-LCHlch(36.87, 77.14, 319.43°)
OKLaboklab(48.19% 0.1431 -0.1415)
OKLCHoklch(48.19% 0.201 315.3)
XYZxyz(17.8775, 9.4672, 38.4141)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727A9 #49A927
analogous
#4627A9 #8727A9 #A9278A
triadic
#8727A9 #A98727 #27A987
tetradic
#8727A9 #A94627 #49A927 #278AA9
square
#8727A9 #A94627 #49A927 #278AA9
split-complementary
#8727A9 #8AA927 #27A946
monochromatic
#381046 #5F1C77 #8727A9 #AA3BD2 #C06DDD

Accessibility & contrast

On white

7.26
#8727A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8727A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727A9
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727A9#FFFFFF#000000##FFFFFF
##8727A91.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#2259A6
Tritanopia (blue-blind)
#844467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8727a9;
/* rgb */ color: rgb(135, 39, 169);
/* oklch */ color: oklch(48.2% 0.201 315.3);
Tailwind
colors: {
  custom: {
    50: '#ae6cc3',
    500: '#8727a9',
    950: '#000000',
  },
}
SCSS
$custom: #8727a9;
$custom-light: #ae6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8727a9",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 284.308,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.20124,
    "h": 315.3
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#8727A9
secondary
#80C468
accent
#E6426D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8727A9

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

Preview Lab → · Contrast checker → · Palette generator →

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