#8729A8#8729A8

#8729A8 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.198 H 315.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8729A8
RGBrgb(135, 41, 168)
HSLhsl(284, 61%, 41%)
HSVhsv(284, 76%, 66%)
CMYKcmyk(19.6%, 75.6%, 0%, 34.1%)
CIE-LABlab(37.05, 57.68, -49.28)
CIE-LCHlch(37.05, 75.86, 319.49°)
OKLaboklab(48.3% 0.1414 -0.1389)
OKLCHoklch(48.3% 0.198 315.5)
XYZxyz(17.8514, 9.5646, 37.9440)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729A8 #4AA829
analogous
#4729A8 #8729A8 #A82989
triadic
#8729A8 #A88729 #29A887
tetradic
#8729A8 #A84729 #4AA829 #2989A8
square
#8729A8 #A84729 #4AA829 #2989A8
split-complementary
#8729A8 #89A829 #29A847
monochromatic
#381146 #5F1D77 #8729A8 #AA3ED0 #C06FDC

Accessibility & contrast

On white

7.21
#8729A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8729A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8729A8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729A8#FFFFFF#000000##FFFFFF
##8729A81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#255AA5
Tritanopia (blue-blind)
#844567
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8729a8;
/* rgb */ color: rgb(135, 41, 168);
/* oklch */ color: oklch(48.3% 0.198 315.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dc3',
    500: '#8729a8',
    950: '#000000',
  },
}
SCSS
$custom: #8729a8;
$custom-light: #ae6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8729a8",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 168
  },
  "hsl": {
    "h": 284.409,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48299,
    "c": 0.19823,
    "h": 315.5
  },
  "luminance": 0.09564
}

Semantic roles & 50–950 ramp

primary
#8729A8
secondary
#81C36A
accent
#E4446D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8729A8

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

Preview Lab → · Contrast checker → · Palette generator →

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