#8726A4#8726A4

#8726A4 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.198 H 317.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8726A4
RGBrgb(135, 38, 164)
HSLhsl(286, 62%, 40%)
HSVhsv(286, 77%, 64%)
CMYKcmyk(17.7%, 76.8%, 0%, 35.7%)
CIE-LABlab(36.40, 57.95, -47.92)
CIE-LCHlch(36.40, 75.20, 320.41°)
OKLaboklab(47.75% 0.1447 -0.1349)
OKLCHoklch(47.75% 0.198 317)
XYZxyz(17.3846, 9.2182, 35.9783)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726A4 #43A426
analogous
#4826A4 #8726A4 #A42682
triadic
#8726A4 #A48726 #26A487
tetradic
#8726A4 #A44826 #43A426 #2682A4
square
#8726A4 #A44826 #43A426 #2682A4
split-complementary
#8726A4 #82A426 #26A448
monochromatic
#350F41 #5E1A72 #8726A4 #AD37D1 #C168DC

Accessibility & contrast

On white

7.39
#8726A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8726A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8726A4#FFFFFF#000000##FFFFFF
##8726A41.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2858A1
Tritanopia (blue-blind)
#854264
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8726a4;
/* rgb */ color: rgb(135, 38, 164);
/* oklch */ color: oklch(47.8% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#ae6bc0',
    500: '#8726a4',
    950: '#000000',
  },
}
SCSS
$custom: #8726a4;
$custom-light: #ae6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8726a4",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 286.19,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.19783,
    "h": 317
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#8726A4
secondary
#79C264
accent
#E54268
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8726A4

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

Preview Lab → · Contrast checker → · Palette generator →

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