#8729A2#8729A2

#8729A2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.193 H 317.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8729A2
RGBrgb(135, 41, 162)
HSLhsl(287, 60%, 40%)
HSVhsv(287, 75%, 64%)
CMYKcmyk(16.7%, 74.7%, 0%, 36.5%)
CIE-LABlab(36.64, 56.48, -46.33)
CIE-LCHlch(36.64, 73.05, 320.64°)
OKLaboklab(47.88% 0.1422 -0.1303)
OKLCHoklch(47.88% 0.193 317.5)
XYZxyz(17.3053, 9.3462, 35.0679)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729A2 #44A229
analogous
#4B29A2 #8729A2 #A22980
triadic
#8729A2 #A28729 #29A287
tetradic
#8729A2 #A24B29 #44A229 #2980A2
square
#8729A2 #A24B29 #44A229 #2980A2
split-complementary
#8729A2 #80A229 #29A24B
monochromatic
#361040 #5E1D71 #8729A2 #AD3BCD #C16CDA

Accessibility & contrast

On white

7.32
#8729A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8729A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8729A2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729A2#FFFFFF#000000##FFFFFF
##8729A21.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8729a2;
/* rgb */ color: rgb(135, 41, 162);
/* oklch */ color: oklch(47.9% 0.193 317.5);
Tailwind
colors: {
  custom: {
    50: '#ae6dbe',
    500: '#8729a2',
    950: '#000000',
  },
}
SCSS
$custom: #8729a2;
$custom-light: #ae6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8729a2",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 286.612,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47881,
    "c": 0.19283,
    "h": 317.5
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#8729A2
secondary
#7BC067
accent
#E34568
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8729A2

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

Preview Lab → · Contrast checker → · Palette generator →

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