#8726AB#8726AB

#8726AB is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.204 H 314.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8726AB
RGBrgb(135, 38, 171)
HSLhsl(284, 64%, 41%)
HSVhsv(284, 78%, 67%)
CMYKcmyk(21.1%, 77.8%, 0%, 32.9%)
CIE-LABlab(36.89, 59.34, -51.33)
CIE-LCHlch(36.89, 78.46, 319.14°)
OKLaboklab(48.25% 0.1436 -0.1449)
OKLCHoklch(48.25% 0.204 314.7)
XYZxyz(18.0342, 9.4781, 39.3997)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726AB #4AAB26
analogous
#4426AB #8726AB #AB268C
triadic
#8726AB #AB8726 #26AB87
tetradic
#8726AB #AB4426 #4AAB26 #268CAB
square
#8726AB #AB4426 #4AAB26 #268CAB
split-complementary
#8726AB #8CAB26 #26AB44
monochromatic
#381047 #5F1B79 #8726AB #AA3BD3 #C06DDF

Accessibility & contrast

On white

7.25
#8726AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8726AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8726AB#FFFFFF#000000##FFFFFF
##8726AB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1E59A8
Tritanopia (blue-blind)
#844568
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8726ab;
/* rgb */ color: rgb(135, 38, 171);
/* oklch */ color: oklch(48.3% 0.204 314.7);
Tailwind
colors: {
  custom: {
    50: '#ae6cc5',
    500: '#8726ab',
    950: '#000000',
  },
}
SCSS
$custom: #8726ab;
$custom-light: #ae6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8726ab",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 283.759,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.20403,
    "h": 314.7
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#8726AB
secondary
#81C568
accent
#E7416E
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8726AB

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

Preview Lab → · Contrast checker → · Palette generator →

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