#8726AA#8726AA

#8726AA is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.203 H 315.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8726AA
RGBrgb(135, 38, 170)
HSLhsl(284, 63%, 41%)
HSVhsv(284, 78%, 67%)
CMYKcmyk(20.6%, 77.6%, 0%, 33.3%)
CIE-LABlab(36.82, 59.14, -50.85)
CIE-LCHlch(36.82, 78.00, 319.31°)
OKLaboklab(48.18% 0.1438 -0.1435)
OKLCHoklch(48.18% 0.203 315)
XYZxyz(17.9393, 9.4401, 38.8996)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726AA #49AA26
analogous
#4526AA #8726AA #AA268B
triadic
#8726AA #AA8726 #26AA87
tetradic
#8726AA #AA4526 #49AA26 #268BAA
square
#8726AA #AA4526 #49AA26 #268BAA
split-complementary
#8726AA #8BAA26 #26AA45
monochromatic
#381046 #5F1B78 #8726AA #AA3AD3 #C06CDE

Accessibility & contrast

On white

7.27
#8726AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8726AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8726AA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8726AA#FFFFFF#000000##FFFFFF
##8726AA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#844467
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8726aa;
/* rgb */ color: rgb(135, 38, 170);
/* oklch */ color: oklch(48.2% 0.203 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae6cc4',
    500: '#8726aa',
    950: '#000000',
  },
}
SCSS
$custom: #8726aa;
$custom-light: #ae6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8726aa",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 284.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.20314,
    "h": 315
  },
  "luminance": 0.09439
}

Semantic roles & 50–950 ramp

primary
#8726AA
secondary
#80C567
accent
#E6416D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8726AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8726AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva