#8720AF#8720AF

#8720AF is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.1% C 0.213 H 313.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8720AF
RGBrgb(135, 32, 175)
HSLhsl(283, 69%, 41%)
HSVhsv(283, 82%, 69%)
CMYKcmyk(22.9%, 81.7%, 0%, 31.4%)
CIE-LABlab(36.52, 62.06, -54.32)
CIE-LCHlch(36.52, 82.47, 318.80°)
OKLaboklab(48.08% 0.1476 -0.1537)
OKLCHoklch(48.08% 0.213 313.8)
XYZxyz(18.2447, 9.2797, 41.3792)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8720AF #48AF20
analogous
#4020AF #8720AF #AF208F
triadic
#8720AF #AF8720 #20AF87
tetradic
#8720AF #AF4020 #48AF20 #208FAF
square
#8720AF #AF4020 #48AF20 #208FAF
split-complementary
#8720AF #8FAF20 #20AF40
monochromatic
#370D48 #5F177B #8720AF #AB33DA #C066E3

Accessibility & contrast

On white

7.35
#8720AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8720AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8720AF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8720AF#FFFFFF#000000##FFFFFF
##8720AF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0C58AC
Tritanopia (blue-blind)
#834469
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8720af;
/* rgb */ color: rgb(135, 32, 175);
/* oklch */ color: oklch(48.1% 0.213 313.8);
Tailwind
colors: {
  custom: {
    50: '#af6ac8',
    500: '#8720af',
    950: '#000000',
  },
}
SCSS
$custom: #8720af;
$custom-light: #af6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#8720af",
  "rgb": {
    "r": 135,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 283.217,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48083,
    "c": 0.21307,
    "h": 313.8
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#8720AF
secondary
#7FC862
accent
#EC3C6D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8720AF

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

Preview Lab → · Contrast checker → · Palette generator →

#8720AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva