#8726A3#8726A3

#8726A3 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 317.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8726A3
RGBrgb(135, 38, 163)
HSLhsl(287, 62%, 39%)
HSVhsv(287, 77%, 64%)
CMYKcmyk(17.2%, 76.7%, 0%, 36.1%)
CIE-LABlab(36.33, 57.76, -47.43)
CIE-LCHlch(36.33, 74.74, 320.61°)
OKLaboklab(47.68% 0.1448 -0.1335)
OKLCHoklch(47.68% 0.197 317.3)
XYZxyz(17.2947, 9.1822, 35.5046)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726A3 #42A326
analogous
#4926A3 #8726A3 #A32681
triadic
#8726A3 #A38726 #26A387
tetradic
#8726A3 #A34926 #42A326 #2681A3
square
#8726A3 #A34926 #42A326 #2681A3
split-complementary
#8726A3 #81A326 #26A349
monochromatic
#350F40 #5E1A71 #8726A3 #AE36D0 #C268DC

Accessibility & contrast

On white

7.40
#8726A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8726A3#FFFFFF#000000##FFFFFF
##8726A31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#864163
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8726a3;
/* rgb */ color: rgb(135, 38, 163);
/* oklch */ color: oklch(47.7% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#ae6bbf',
    500: '#8726a3',
    950: '#000000',
  },
}
SCSS
$custom: #8726a3;
$custom-light: #ae6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8726a3",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 286.56,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47683,
    "c": 0.19696,
    "h": 317.3
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#8726A3
secondary
#78C263
accent
#E54367
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8726A3

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

Preview Lab → · Contrast checker → · Palette generator →

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