#8722A7#8722A7

#8722A7 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.204 H 316.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8722A7
RGBrgb(135, 34, 167)
HSLhsl(286, 66%, 39%)
HSVhsv(286, 80%, 65%)
CMYKcmyk(19.2%, 79.6%, 0%, 34.5%)
CIE-LABlab(36.15, 59.87, -50.13)
CIE-LCHlch(36.15, 78.09, 320.06°)
OKLaboklab(47.64% 0.1476 -0.1414)
OKLCHoklch(47.64% 0.204 316.2)
XYZxyz(17.5377, 9.0857, 37.3816)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8722A7 #42A722
analogous
#4522A7 #8722A7 #A72285
triadic
#8722A7 #A78722 #22A787
tetradic
#8722A7 #A74522 #42A722 #2285A7
square
#8722A7 #A74522 #42A722 #2285A7
split-complementary
#8722A7 #85A722 #22A745
monochromatic
#350D41 #5E1874 #8722A7 #AE31D5 #C264DF

Accessibility & contrast

On white

7.45
#8722A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8722A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8722A7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8722A7#FFFFFF#000000##FFFFFF
##8722A71.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#2058A4
Tritanopia (blue-blind)
#854165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8722a7;
/* rgb */ color: rgb(135, 34, 167);
/* oklch */ color: oklch(47.6% 0.204 316.2);
Tailwind
colors: {
  custom: {
    50: '#ae6ac2',
    500: '#8722a7',
    950: '#000000',
  },
}
SCSS
$custom: #8722a7;
$custom-light: #ae6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8722a7",
  "rgb": {
    "r": 135,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 285.564,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.2044,
    "h": 316.2
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#8722A7
secondary
#78C560
accent
#E93F68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8722A7

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

Preview Lab → · Contrast checker → · Palette generator →

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