#8729A4#8729A4

#8729A4 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.195 H 316.8°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8729A4
RGBrgb(135, 41, 164)
HSLhsl(286, 60%, 40%)
HSVhsv(286, 75%, 64%)
CMYKcmyk(17.7%, 75%, 0%, 35.7%)
CIE-LABlab(36.78, 56.88, -47.32)
CIE-LCHlch(36.78, 73.99, 320.24°)
OKLaboklab(48.02% 0.1419 -0.1332)
OKLCHoklch(48.02% 0.195 316.8)
XYZxyz(17.4844, 9.4178, 36.0116)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729A4 #46A429
analogous
#4A29A4 #8729A4 #A42983
triadic
#8729A4 #A48729 #29A487
tetradic
#8729A4 #A44A29 #46A429 #2983A4
square
#8729A4 #A44A29 #46A429 #2983A4
split-complementary
#8729A4 #83A429 #29A44A
monochromatic
#361142 #5F1D73 #8729A4 #AC3CCE #C16DDA

Accessibility & contrast

On white

7.28
#8729A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8729A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8729A4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729A4#FFFFFF#000000##FFFFFF
##8729A41.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#2A59A1
Tritanopia (blue-blind)
#854365
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8729a4;
/* rgb */ color: rgb(135, 41, 164);
/* oklch */ color: oklch(48.0% 0.195 316.8);
Tailwind
colors: {
  custom: {
    50: '#ae6dc0',
    500: '#8729a4',
    950: '#000000',
  },
}
SCSS
$custom: #8729a4;
$custom-light: #ae6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8729a4",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 285.854,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48019,
    "c": 0.19462,
    "h": 316.8
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#8729A4
secondary
#7DC168
accent
#E3456A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8729A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8729A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva