#8728AB#8728AB

#8728AB is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.202 H 314.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8728AB
RGBrgb(135, 40, 171)
HSLhsl(284, 62%, 41%)
HSVhsv(284, 77%, 67%)
CMYKcmyk(21.1%, 76.6%, 0%, 32.9%)
CIE-LABlab(37.13, 58.64, -50.94)
CIE-LCHlch(37.13, 77.68, 319.02°)
OKLaboklab(48.42% 0.1419 -0.1438)
OKLCHoklch(48.42% 0.202 314.6)
XYZxyz(18.0999, 9.6094, 39.4215)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728AB #4CAB28
analogous
#4528AB #8728AB #AB288E
triadic
#8728AB #AB8728 #28AB87
tetradic
#8728AB #AB4528 #4CAB28 #288EAB
square
#8728AB #AB4528 #4CAB28 #288EAB
split-complementary
#8728AB #8EAB28 #28AB45
monochromatic
#391148 #601C79 #8728AB #A93ED2 #BF70DE

Accessibility & contrast

On white

7.19
#8728AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8728AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728AB
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728AB#FFFFFF#000000##FFFFFF
##8728AB1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#844668
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8728ab;
/* rgb */ color: rgb(135, 40, 171);
/* oklch */ color: oklch(48.4% 0.202 314.6);
Tailwind
colors: {
  custom: {
    50: '#ae6dc5',
    500: '#8728ab',
    950: '#000000',
  },
}
SCSS
$custom: #8728ab;
$custom-light: #ae6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8728ab",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 283.511,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.202,
    "h": 314.6
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#8728AB
secondary
#83C46A
accent
#E5436F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8728AB

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

Preview Lab → · Contrast checker → · Palette generator →

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