#8724A6#8724A6

#8724A6 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.7% C 0.202 H 316.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8724A6
RGBrgb(135, 36, 166)
HSLhsl(286, 64%, 40%)
HSVhsv(286, 78%, 65%)
CMYKcmyk(18.7%, 78.3%, 0%, 34.9%)
CIE-LABlab(36.30, 59.03, -49.28)
CIE-LCHlch(36.30, 76.90, 320.14°)
OKLaboklab(47.73% 0.1461 -0.1389)
OKLCHoklch(47.73% 0.202 316.5)
XYZxyz(17.5044, 9.1666, 36.9163)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724A6 #43A624
analogous
#4624A6 #8724A6 #A62484
triadic
#8724A6 #A68724 #24A687
tetradic
#8724A6 #A64624 #43A624 #2484A6
square
#8724A6 #A64624 #43A624 #2484A6
split-complementary
#8724A6 #84A624 #24A646
monochromatic
#350E41 #5E1974 #8724A6 #AD34D3 #C166DE

Accessibility & contrast

On white

7.41
#8724A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8724A6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724A6#FFFFFF#000000##FFFFFF
##8724A61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#2458A3
Tritanopia (blue-blind)
#854265
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8724a6;
/* rgb */ color: rgb(135, 36, 166);
/* oklch */ color: oklch(47.7% 0.202 316.5);
Tailwind
colors: {
  custom: {
    50: '#ae6bc1',
    500: '#8724a6',
    950: '#000000',
  },
}
SCSS
$custom: #8724a6;
$custom-light: #ae6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8724a6",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 285.692,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.20162,
    "h": 316.5
  },
  "luminance": 0.09166
}

Semantic roles & 50–950 ramp

primary
#8724A6
secondary
#79C462
accent
#E74068
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8724A6

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

Preview Lab → · Contrast checker → · Palette generator →

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