#8724A5#8724A5

#8724A5 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.201 H 316.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8724A5
RGBrgb(135, 36, 165)
HSLhsl(286, 64%, 39%)
HSVhsv(286, 78%, 65%)
CMYKcmyk(18.2%, 78.2%, 0%, 35.3%)
CIE-LABlab(36.23, 58.83, -48.79)
CIE-LCHlch(36.23, 76.43, 320.33°)
OKLaboklab(47.66% 0.1463 -0.1375)
OKLCHoklch(47.66% 0.201 316.8)
XYZxyz(17.4131, 9.1300, 36.4350)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724A5 #42A524
analogous
#4724A5 #8724A5 #A52482
triadic
#8724A5 #A58724 #24A587
tetradic
#8724A5 #A54724 #42A524 #2482A5
square
#8724A5 #A54724 #42A524 #2482A5
split-complementary
#8724A5 #82A524 #24A547
monochromatic
#350E41 #5E1973 #8724A5 #AE34D3 #C266DE

Accessibility & contrast

On white

7.43
#8724A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8724A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724A5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724A5#FFFFFF#000000##FFFFFF
##8724A51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#2558A2
Tritanopia (blue-blind)
#854164
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8724a5;
/* rgb */ color: rgb(135, 36, 165);
/* oklch */ color: oklch(47.7% 0.201 316.8);
Tailwind
colors: {
  custom: {
    50: '#ae6bc0',
    500: '#8724a5',
    950: '#000000',
  },
}
SCSS
$custom: #8724a5;
$custom-light: #ae6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8724a5",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 286.047,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47657,
    "c": 0.20074,
    "h": 316.8
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#8724A5
secondary
#78C362
accent
#E74167
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8724A5

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

Preview Lab → · Contrast checker → · Palette generator →

#8724A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva