#8728AE#8728AE

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

Color values

HEX#8728AE
RGBrgb(135, 40, 174)
HSLhsl(283, 63%, 42%)
HSVhsv(283, 77%, 68%)
CMYKcmyk(22.4%, 77%, 0%, 31.8%)
CIE-LABlab(37.34, 59.25, -52.39)
CIE-LCHlch(37.34, 79.09, 318.52°)
OKLaboklab(48.64% 0.1414 -0.148)
OKLCHoklch(48.64% 0.205 313.7)
XYZxyz(18.3891, 9.7251, 40.9446)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728AE #4FAE28
analogous
#4428AE #8728AE #AE2892
triadic
#8728AE #AE8728 #28AE87
tetradic
#8728AE #AE4428 #4FAE28 #2892AE
square
#8728AE #AE4428 #4FAE28 #2892AE
split-complementary
#8728AE #92AE28 #28AE44
monochromatic
#3A114A #601D7C #8728AE #A840D3 #BF72DF

Accessibility & contrast

On white

7.13
#8728AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8728AE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728AE#FFFFFF#000000##FFFFFF
##8728AE1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8728ae;
/* rgb */ color: rgb(135, 40, 174);
/* oklch */ color: oklch(48.6% 0.205 313.7);
Tailwind
colors: {
  custom: {
    50: '#ae6dc7',
    500: '#8728ae',
    950: '#000000',
  },
}
SCSS
$custom: #8728ae;
$custom-light: #ae6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8728ae",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 282.537,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48641,
    "c": 0.2047,
    "h": 313.7
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#8728AE
secondary
#86C66C
accent
#E64272
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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