#8727A3#8727A3

#8727A3 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.196 H 317.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8727A3
RGBrgb(135, 39, 163)
HSLhsl(286, 61%, 40%)
HSVhsv(286, 76%, 64%)
CMYKcmyk(17.2%, 76.1%, 0%, 36.1%)
CIE-LABlab(36.46, 57.41, -47.23)
CIE-LCHlch(36.46, 74.34, 320.55°)
OKLaboklab(47.77% 0.1439 -0.1329)
OKLCHoklch(47.77% 0.196 317.3)
XYZxyz(17.3271, 9.2470, 35.5154)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727A3 #43A327
analogous
#4927A3 #8727A3 #A32781
triadic
#8727A3 #A38727 #27A387
tetradic
#8727A3 #A34927 #43A327 #2781A3
square
#8727A3 #A34927 #43A327 #2781A3
split-complementary
#8727A3 #81A327 #27A349
monochromatic
#350F40 #5E1B72 #8727A3 #AD38CF #C169DB

Accessibility & contrast

On white

7.37
#8727A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8727A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727A3
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727A3#FFFFFF#000000##FFFFFF
##8727A31.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2A59A0
Tritanopia (blue-blind)
#864264
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8727a3;
/* rgb */ color: rgb(135, 39, 163);
/* oklch */ color: oklch(47.8% 0.196 317.3);
Tailwind
colors: {
  custom: {
    50: '#ae6cbf',
    500: '#8727a3',
    950: '#000000',
  },
}
SCSS
$custom: #8727a3;
$custom-light: #ae6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8727a3",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 286.452,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4777,
    "c": 0.1959,
    "h": 317.3
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#8727A3
secondary
#79C164
accent
#E44368
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8727A3

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

Preview Lab → · Contrast checker → · Palette generator →

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