#8724A7#8724A7

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

Color values

HEX#8724A7
RGBrgb(135, 36, 167)
HSLhsl(285, 65%, 40%)
HSVhsv(285, 78%, 65%)
CMYKcmyk(19.2%, 78.4%, 0%, 34.5%)
CIE-LABlab(36.37, 59.22, -49.77)
CIE-LCHlch(36.37, 77.36, 319.96°)
OKLaboklab(47.8% 0.146 -0.1403)
OKLCHoklch(47.8% 0.202 316.1)
XYZxyz(17.5965, 9.2034, 37.4012)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724A7 #44A724
analogous
#4624A7 #8724A7 #A72485
triadic
#8724A7 #A78724 #24A787
tetradic
#8724A7 #A74624 #44A724 #2485A7
square
#8724A7 #A74624 #44A724 #2485A7
split-complementary
#8724A7 #85A724 #24A746
monochromatic
#360E42 #5E1975 #8724A7 #AD35D3 #C167DE

Accessibility & contrast

On white

7.39
#8724A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8724A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724A7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724A7#FFFFFF#000000##FFFFFF
##8724A71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#2258A4
Tritanopia (blue-blind)
#854265
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8724a7;
/* rgb */ color: rgb(135, 36, 167);
/* oklch */ color: oklch(47.8% 0.202 316.1);
Tailwind
colors: {
  custom: {
    50: '#ae6bc2',
    500: '#8724a7',
    950: '#000000',
  },
}
SCSS
$custom: #8724a7;
$custom-light: #ae6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8724a7",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 285.344,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.20249,
    "h": 316.1
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#8724A7
secondary
#7BC463
accent
#E84069
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8724A7

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

Preview Lab → · Contrast checker → · Palette generator →

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