#8728A3#8728A3

#8728A3 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 317.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8728A3
RGBrgb(135, 40, 163)
HSLhsl(286, 61%, 40%)
HSVhsv(286, 75%, 64%)
CMYKcmyk(17.2%, 75.5%, 0%, 36.1%)
CIE-LABlab(36.58, 57.05, -47.03)
CIE-LCHlch(36.58, 73.93, 320.50°)
OKLaboklab(47.86% 0.143 -0.1323)
OKLCHoklch(47.86% 0.195 317.2)
XYZxyz(17.3604, 9.3136, 35.5265)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728A3 #44A328
analogous
#4928A3 #8728A3 #A32882
triadic
#8728A3 #A38728 #28A387
tetradic
#8728A3 #A34928 #44A328 #2882A3
square
#8728A3 #A34928 #44A328 #2882A3
split-complementary
#8728A3 #82A328 #28A349
monochromatic
#361041 #5E1C72 #8728A3 #AD3ACF #C16BDB

Accessibility & contrast

On white

7.34
#8728A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8728A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728A3
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728A3#FFFFFF#000000##FFFFFF
##8728A31.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#864264
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8728a3;
/* rgb */ color: rgb(135, 40, 163);
/* oklch */ color: oklch(47.9% 0.195 317.2);
Tailwind
colors: {
  custom: {
    50: '#ae6cbf',
    500: '#8728a3',
    950: '#000000',
  },
}
SCSS
$custom: #8728a3;
$custom-light: #ae6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8728a3",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 286.341,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.19483,
    "h": 317.2
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#8728A3
secondary
#7BC166
accent
#E44468
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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