#8724B4#8724B4

#8724B4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.8% C 0.214 H 312.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8724B4
RGBrgb(135, 36, 180)
HSLhsl(281, 67%, 42%)
HSVhsv(281, 80%, 71%)
CMYKcmyk(25%, 80%, 0%, 29.4%)
CIE-LABlab(37.31, 61.83, -56.00)
CIE-LCHlch(37.31, 83.42, 317.83°)
OKLaboklab(48.76% 0.1435 -0.1586)
OKLCHoklch(48.76% 0.214 312.1)
XYZxyz(18.8592, 9.7085, 44.0516)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724B4 #51B424
analogous
#3F24B4 #8724B4 #B42499
triadic
#8724B4 #B48724 #24B487
tetradic
#8724B4 #B43F24 #51B424 #2499B4
square
#8724B4 #B43F24 #51B424 #2499B4
split-complementary
#8724B4 #99B424 #24B43F
monochromatic
#3B104E #611A81 #8724B4 #A83DD8 #BF70E2

Accessibility & contrast

On white

7.14
#8724B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8724B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724B4
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724B4#FFFFFF#000000##FFFFFF
##8724B41.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#005AB1
Tritanopia (blue-blind)
#81486D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8724b4;
/* rgb */ color: rgb(135, 36, 180);
/* oklch */ color: oklch(48.8% 0.214 312.1);
Tailwind
colors: {
  custom: {
    50: '#af6bcb',
    500: '#8724b4',
    950: '#000000',
  },
}
SCSS
$custom: #8724b4;
$custom-light: #af6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8724b4",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 281.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48757,
    "c": 0.21391,
    "h": 312.1
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#8724B4
secondary
#88C96B
accent
#EA3E74
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8724B4

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

Preview Lab → · Contrast checker → · Palette generator →

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