#8722A1#8722A1

#8722A1 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.199 H 318.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8722A1
RGBrgb(135, 34, 161)
HSLhsl(288, 65%, 38%)
HSVhsv(288, 79%, 63%)
CMYKcmyk(16.1%, 78.9%, 0%, 36.9%)
CIE-LABlab(35.73, 58.71, -47.19)
CIE-LCHlch(35.73, 75.33, 321.21°)
OKLaboklab(47.21% 0.1486 -0.1328)
OKLCHoklch(47.21% 0.199 318.2)
XYZxyz(16.9958, 8.8690, 34.5279)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8722A1 #3CA122
analogous
#4822A1 #8722A1 #A1227B
triadic
#8722A1 #A18722 #22A187
tetradic
#8722A1 #A14822 #3CA122 #227BA1
square
#8722A1 #A14822 #3CA122 #227BA1
split-complementary
#8722A1 #7BA122 #22A148
monochromatic
#320D3C #5D176E #8722A1 #B12DD3 #C460DD

Accessibility & contrast

On white

7.57
#8722A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8722A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8722A1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8722A1#FFFFFF#000000##FFFFFF
##8722A11.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#28579E
Tritanopia (blue-blind)
#863E61
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8722a1;
/* rgb */ color: rgb(135, 34, 161);
/* oklch */ color: oklch(47.2% 0.199 318.2);
Tailwind
colors: {
  custom: {
    50: '#ae6abd',
    500: '#8722a1',
    950: '#000000',
  },
}
SCSS
$custom: #8722a1;
$custom-light: #ae6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8722a1",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 287.717,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47214,
    "c": 0.19924,
    "h": 318.2
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

primary
#8722A1
secondary
#71C25D
accent
#E84062
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8722A1

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

Preview Lab → · Contrast checker → · Palette generator →

#8722A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva