#8728A9#8728A9

#8728A9 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 315.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8728A9
RGBrgb(135, 40, 169)
HSLhsl(284, 62%, 41%)
HSVhsv(284, 76%, 66%)
CMYKcmyk(20.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(36.99, 58.24, -49.97)
CIE-LCHlch(36.99, 76.74, 319.37°)
OKLaboklab(48.28% 0.1422 -0.1409)
OKLCHoklch(48.28% 0.2 315.2)
XYZxyz(17.9107, 9.5337, 38.4251)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8728A9 #4AA928
analogous
#4628A9 #8728A9 #A9288A
triadic
#8728A9 #A98728 #28A987
tetradic
#8728A9 #A94628 #4AA928 #288AA9
square
#8728A9 #A94628 #4AA928 #288AA9
split-complementary
#8728A9 #8AA928 #28A946
monochromatic
#381146 #5F1C78 #8728A9 #AA3DD1 #C06FDD

Accessibility & contrast

On white

7.22
#8728A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8728A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8728A9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8728A9#FFFFFF#000000##FFFFFF
##8728A91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#2359A6
Tritanopia (blue-blind)
#844567
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8728a9;
/* rgb */ color: rgb(135, 40, 169);
/* oklch */ color: oklch(48.3% 0.200 315.2);
Tailwind
colors: {
  custom: {
    50: '#ae6dc3',
    500: '#8728a9',
    950: '#000000',
  },
}
SCSS
$custom: #8728a9;
$custom-light: #ae6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8728a9",
  "rgb": {
    "r": 135,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 284.186,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48281,
    "c": 0.20019,
    "h": 315.2
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#8728A9
secondary
#81C469
accent
#E5436E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8728A9

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

Preview Lab → · Contrast checker → · Palette generator →

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