#8729AF#8729AF

#8729AF is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 313.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8729AF
RGBrgb(135, 41, 175)
HSLhsl(282, 62%, 42%)
HSVhsv(282, 77%, 69%)
CMYKcmyk(22.9%, 76.6%, 0%, 31.4%)
CIE-LABlab(37.54, 59.10, -52.66)
CIE-LCHlch(37.54, 79.16, 318.30°)
OKLaboklab(48.8% 0.1403 -0.1489)
OKLCHoklch(48.8% 0.205 313.3)
XYZxyz(18.5211, 9.8325, 41.4714)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8729AF #51AF29
analogous
#4429AF #8729AF #AF2994
triadic
#8729AF #AF8729 #29AF87
tetradic
#8729AF #AF4429 #51AF29 #2994AF
square
#8729AF #AF4429 #51AF29 #2994AF
split-complementary
#8729AF #94AF29 #29AF44
monochromatic
#3B124C #611D7D #8729AF #A842D3 #BF74DE

Accessibility & contrast

On white

7.08
#8729AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8729AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8729AF
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8729AF#FFFFFF#000000##FFFFFF
##8729AF1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#83486B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8729af;
/* rgb */ color: rgb(135, 41, 175);
/* oklch */ color: oklch(48.8% 0.205 313.3);
Tailwind
colors: {
  custom: {
    50: '#ae6dc8',
    500: '#8729af',
    950: '#000000',
  },
}
SCSS
$custom: #8729af;
$custom-light: #ae6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8729af",
  "rgb": {
    "r": 135,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 282.09,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48801,
    "c": 0.20457,
    "h": 313.3
  },
  "luminance": 0.09832
}

Semantic roles & 50–950 ramp

primary
#8729AF
secondary
#88C66E
accent
#E54373
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8729AF

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

Preview Lab → · Contrast checker → · Palette generator →

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