#8728AD#8728AD

#8728AD is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.204 H 314.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8728AD
RGBrgb(135, 40, 173)
HSLhsl(283, 62%, 42%)
HSVhsv(283, 77%, 68%)
CMYKcmyk(22%, 76.9%, 0%, 32.2%)
CIE-LABlab(37.27, 59.05, -51.90)
CIE-LCHlch(37.27, 78.62, 318.68°)
OKLaboklab(48.57% 0.1415 -0.1466)
OKLCHoklch(48.57% 0.204 314)
XYZxyz(18.2920, 9.6862, 40.4331)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728AD #4EAD28
analogous
#4528AD #8728AD #AD2891
triadic
#8728AD #AD8728 #28AD87
tetradic
#8728AD #AD4528 #4EAD28 #2891AD
square
#8728AD #AD4528 #4EAD28 #2891AD
split-complementary
#8728AD #91AD28 #28AD45
monochromatic
#39114A #601D7B #8728AD #A93FD3 #BF71DE

Accessibility & contrast

On white

7.15
#8728AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8728AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728AD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728AD#FFFFFF#000000##FFFFFF
##8728AD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#1D5AAA
Tritanopia (blue-blind)
#83476A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8728ad;
/* rgb */ color: rgb(135, 40, 173);
/* oklch */ color: oklch(48.6% 0.204 314.0);
Tailwind
colors: {
  custom: {
    50: '#ae6dc6',
    500: '#8728ad',
    950: '#000000',
  },
}
SCSS
$custom: #8728ad;
$custom-light: #ae6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8728ad",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 282.857,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48568,
    "c": 0.20379,
    "h": 314
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#8728AD
secondary
#85C56C
accent
#E64271
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8728AD

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

Preview Lab → · Contrast checker → · Palette generator →

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