#8727AD#8727AD

#8727AD is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.205 H 314.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8727AD
RGBrgb(135, 39, 173)
HSLhsl(283, 63%, 42%)
HSVhsv(283, 77%, 68%)
CMYKcmyk(22%, 77.5%, 0%, 32.2%)
CIE-LABlab(37.15, 59.40, -52.10)
CIE-LCHlch(37.15, 79.01, 318.75°)
OKLaboklab(48.48% 0.1424 -0.1472)
OKLCHoklch(48.48% 0.205 314)
XYZxyz(18.2587, 9.6197, 40.4220)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727AD #4DAD27
analogous
#4427AD #8727AD #AD2790
triadic
#8727AD #AD8727 #27AD87
tetradic
#8727AD #AD4427 #4DAD27 #2790AD
square
#8727AD #AD4427 #4DAD27 #2790AD
split-complementary
#8727AD #90AD27 #27AD44
monochromatic
#391049 #601C7B #8727AD #A93ED3 #BF70DF

Accessibility & contrast

On white

7.18
#8727AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8727AD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727AD#FFFFFF#000000##FFFFFF
##8727AD1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#1B5AAA
Tritanopia (blue-blind)
#834669
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8727ad;
/* rgb */ color: rgb(135, 39, 173);
/* oklch */ color: oklch(48.5% 0.205 314.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cc6',
    500: '#8727ad',
    950: '#000000',
  },
}
SCSS
$custom: #8727ad;
$custom-light: #ae6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8727ad",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 282.985,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.20481,
    "h": 314
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#8727AD
secondary
#84C66A
accent
#E64270
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8727AD

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

Preview Lab → · Contrast checker → · Palette generator →

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