#8728B6#8728B6

#8728B6 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.212 H 311.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8728B6
RGBrgb(135, 40, 182)
HSLhsl(280, 64%, 44%)
HSVhsv(280, 78%, 71%)
CMYKcmyk(25.8%, 78%, 0%, 28.6%)
CIE-LABlab(37.93, 60.90, -56.19)
CIE-LCHlch(37.93, 82.86, 317.30°)
OKLaboklab(49.23% 0.1399 -0.1592)
OKLCHoklch(49.23% 0.212 311.3)
XYZxyz(19.1924, 10.0464, 45.1750)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728B6 #57B628
analogous
#4028B6 #8728B6 #B6289E
triadic
#8728B6 #B68728 #28B687
tetradic
#8728B6 #B64028 #57B628 #289EB6
square
#8728B6 #B64028 #57B628 #289EB6
split-complementary
#8728B6 #9EB628 #28B640
monochromatic
#3D1252 #621D84 #8728B6 #A645D6 #BE77E1

Accessibility & contrast

On white

6.98
#8728B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8728B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8728B6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728B6#FFFFFF#000000##FFFFFF
##8728B61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#025BB3
Tritanopia (blue-blind)
#814B6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8728b6;
/* rgb */ color: rgb(135, 40, 182);
/* oklch */ color: oklch(49.2% 0.212 311.3);
Tailwind
colors: {
  custom: {
    50: '#af6dcd',
    500: '#8728b6',
    950: '#000000',
  },
}
SCSS
$custom: #8728b6;
$custom-light: #af6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8728b6",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 280.141,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.49233,
    "c": 0.21193,
    "h": 311.3
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#8728B6
secondary
#8EC971
accent
#E74178
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8728B6

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

Preview Lab → · Contrast checker → · Palette generator →

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