#8729A7#8729A7

#8729A7 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 315.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8729A7
RGBrgb(135, 41, 167)
HSLhsl(285, 61%, 41%)
HSVhsv(285, 75%, 65%)
CMYKcmyk(19.2%, 75.4%, 0%, 34.5%)
CIE-LABlab(36.98, 57.48, -48.79)
CIE-LCHlch(36.98, 75.39, 319.67°)
OKLaboklab(48.23% 0.1415 -0.1375)
OKLCHoklch(48.23% 0.197 315.8)
XYZxyz(17.7586, 9.5275, 37.4553)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729A7 #49A729
analogous
#4829A7 #8729A7 #A72988
triadic
#8729A7 #A78729 #29A787
tetradic
#8729A7 #A74829 #49A729 #2988A7
square
#8729A7 #A74829 #49A729 #2988A7
split-complementary
#8729A7 #88A729 #29A748
monochromatic
#381145 #5F1D76 #8729A7 #AA3ED0 #C06FDC

Accessibility & contrast

On white

7.23
#8729A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8729A7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729A7#FFFFFF#000000##FFFFFF
##8729A71.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#275AA4
Tritanopia (blue-blind)
#854566
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8729a7;
/* rgb */ color: rgb(135, 41, 167);
/* oklch */ color: oklch(48.2% 0.197 315.8);
Tailwind
colors: {
  custom: {
    50: '#ae6dc2',
    500: '#8729a7',
    950: '#000000',
  },
}
SCSS
$custom: #8729a7;
$custom-light: #ae6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8729a7",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 284.762,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.19732,
    "h": 315.8
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#8729A7
secondary
#80C269
accent
#E4446D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8729A7

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

Preview Lab → · Contrast checker → · Palette generator →

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