#8726B1#8726B1

#8726B1 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.209 H 312.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8726B1
RGBrgb(135, 38, 177)
HSLhsl(282, 65%, 42%)
HSVhsv(282, 79%, 69%)
CMYKcmyk(23.7%, 78.5%, 0%, 30.6%)
CIE-LABlab(37.32, 60.56, -54.21)
CIE-LCHlch(37.32, 81.28, 318.17°)
OKLaboklab(48.69% 0.1425 -0.1534)
OKLCHoklch(48.69% 0.209 312.9)
XYZxyz(18.6192, 9.7120, 42.4802)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726B1 #50B126
analogous
#4226B1 #8726B1 #B12695
triadic
#8726B1 #B18726 #26B187
tetradic
#8726B1 #B14226 #50B126 #2695B1
square
#8726B1 #B14226 #50B126 #2695B1
split-complementary
#8726B1 #95B126 #26B142
monochromatic
#3A104C #611B7F #8726B1 #A83FD6 #BF71E0

Accessibility & contrast

On white

7.14
#8726B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#8726B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8726B1#FFFFFF#000000##FFFFFF
##8726B11.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#115AAE
Tritanopia (blue-blind)
#82486B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8726b1;
/* rgb */ color: rgb(135, 38, 177);
/* oklch */ color: oklch(48.7% 0.209 312.9);
Tailwind
colors: {
  custom: {
    50: '#af6cc9',
    500: '#8726b1',
    950: '#000000',
  },
}
SCSS
$custom: #8726b1;
$custom-light: #af6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8726b1",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 281.871,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.20937,
    "h": 312.9
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#8726B1
secondary
#87C76B
accent
#E84073
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8726B1

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

Preview Lab → · Contrast checker → · Palette generator →

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