#8724A8#8724A8

#8724A8 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.9% C 0.203 H 315.8°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8724A8
RGBrgb(135, 36, 168)
HSLhsl(285, 65%, 40%)
HSVhsv(285, 79%, 66%)
CMYKcmyk(19.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(36.44, 59.42, -50.26)
CIE-LCHlch(36.44, 77.82, 319.78°)
OKLaboklab(47.87% 0.1458 -0.1418)
OKLCHoklch(47.87% 0.203 315.8)
XYZxyz(17.6893, 9.2405, 37.8900)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724A8 #45A824
analogous
#4524A8 #8724A8 #A82487
triadic
#8724A8 #A88724 #24A887
tetradic
#8724A8 #A84524 #45A824 #2487A8
square
#8724A8 #A84524 #45A824 #2487A8
split-complementary
#8724A8 #87A824 #24A845
monochromatic
#360E43 #5F1976 #8724A8 #AC35D4 #C168DF

Accessibility & contrast

On white

7.37
#8724A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8724A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724A8
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724A8#FFFFFF#000000##FFFFFF
##8724A81.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#2158A5
Tritanopia (blue-blind)
#854266
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8724a8;
/* rgb */ color: rgb(135, 36, 168);
/* oklch */ color: oklch(47.9% 0.203 315.8);
Tailwind
colors: {
  custom: {
    50: '#ae6bc3',
    500: '#8724a8',
    950: '#000000',
  },
}
SCSS
$custom: #8724a8;
$custom-light: #ae6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8724a8",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 285,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.20336,
    "h": 315.8
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#8724A8
secondary
#7CC463
accent
#E8406A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8724A8

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

Preview Lab → · Contrast checker → · Palette generator →

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