#8728A8#8728A8

#8728A8 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 315.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8728A8
RGBrgb(135, 40, 168)
HSLhsl(285, 62%, 41%)
HSVhsv(285, 76%, 66%)
CMYKcmyk(19.6%, 76.2%, 0%, 34.1%)
CIE-LABlab(36.92, 58.04, -49.48)
CIE-LCHlch(36.92, 76.27, 319.55°)
OKLaboklab(48.21% 0.1423 -0.1395)
OKLCHoklch(48.21% 0.199 315.6)
XYZxyz(17.8172, 9.4963, 37.9326)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728A8 #49A828
analogous
#4728A8 #8728A8 #A82889
triadic
#8728A8 #A88728 #28A887
tetradic
#8728A8 #A84728 #49A828 #2889A8
square
#8728A8 #A84728 #49A828 #2889A8
split-complementary
#8728A8 #89A828 #28A847
monochromatic
#381045 #5F1C77 #8728A8 #AA3DD1 #C06EDC

Accessibility & contrast

On white

7.24
#8728A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8728A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728A8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728A8#FFFFFF#000000##FFFFFF
##8728A81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#2459A5
Tritanopia (blue-blind)
#844467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8728a8;
/* rgb */ color: rgb(135, 40, 168);
/* oklch */ color: oklch(48.2% 0.199 315.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cc3',
    500: '#8728a8',
    950: '#000000',
  },
}
SCSS
$custom: #8728a8;
$custom-light: #ae6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8728a8",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 284.531,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.19929,
    "h": 315.6
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#8728A8
secondary
#80C369
accent
#E5436D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8728A8

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

Preview Lab → · Contrast checker → · Palette generator →

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