#8726A8#8726A8

#8726A8 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 315.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8726A8
RGBrgb(135, 38, 168)
HSLhsl(285, 63%, 40%)
HSVhsv(285, 77%, 66%)
CMYKcmyk(19.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(36.68, 58.75, -49.88)
CIE-LCHlch(36.68, 77.06, 319.67°)
OKLaboklab(48.04% 0.1441 -0.1407)
OKLCHoklch(48.04% 0.201 315.7)
XYZxyz(17.7515, 9.3650, 37.9107)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8726A8 #47A826
analogous
#4626A8 #8726A8 #A82688
triadic
#8726A8 #A88726 #26A887
tetradic
#8726A8 #A84626 #47A826 #2688A8
square
#8726A8 #A84626 #47A826 #2688A8
split-complementary
#8726A8 #88A826 #26A846
monochromatic
#370F44 #5F1B76 #8726A8 #AB39D2 #C06BDE

Accessibility & contrast

On white

7.31
#8726A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8726A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8726A8#FFFFFF#000000##FFFFFF
##8726A81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#854366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8726a8;
/* rgb */ color: rgb(135, 38, 168);
/* oklch */ color: oklch(48.0% 0.201 315.7);
Tailwind
colors: {
  custom: {
    50: '#ae6cc3',
    500: '#8726a8',
    950: '#000000',
  },
}
SCSS
$custom: #8726a8;
$custom-light: #ae6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8726a8",
  "rgb": {
    "r": 135,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 284.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48036,
    "c": 0.20137,
    "h": 315.7
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#8726A8
secondary
#7EC466
accent
#E6426B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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