#8724A2#8724A2

#8724A2 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 317.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#8724A2
RGBrgb(135, 36, 162)
HSLhsl(287, 64%, 39%)
HSVhsv(287, 78%, 64%)
CMYKcmyk(16.7%, 77.8%, 0%, 36.5%)
CIE-LABlab(36.03, 58.25, -47.32)
CIE-LCHlch(36.03, 75.05, 320.91°)
OKLaboklab(47.45% 0.1467 -0.1331)
OKLCHoklch(47.45% 0.198 317.8)
XYZxyz(17.1432, 9.0221, 35.0138)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8724A2 #3FA224
analogous
#4824A2 #8724A2 #A2247E
triadic
#8724A2 #A28724 #24A287
tetradic
#8724A2 #A24824 #3FA224 #247EA2
square
#8724A2 #A24824 #3FA224 #247EA2
split-complementary
#8724A2 #7EA224 #24A248
monochromatic
#340E3E #5D1970 #8724A2 #AF32D1 #C364DD

Accessibility & contrast

On white

7.49
#8724A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8724A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8724A2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8724A2#FFFFFF#000000##FFFFFF
##8724A21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#864062
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8724a2;
/* rgb */ color: rgb(135, 36, 162);
/* oklch */ color: oklch(47.4% 0.198 317.8);
Tailwind
colors: {
  custom: {
    50: '#ae6bbe',
    500: '#8724a2',
    950: '#000000',
  },
}
SCSS
$custom: #8724a2;
$custom-light: #ae6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8724a2",
  "rgb": {
    "r": 135,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 287.143,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.19813,
    "h": 317.8
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#8724A2
secondary
#75C260
accent
#E74165
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8724A2

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

Preview Lab → · Contrast checker → · Palette generator →

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