#8727A8#8727A8

#8727A8 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 315.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8727A8
RGBrgb(135, 39, 168)
HSLhsl(285, 62%, 41%)
HSVhsv(285, 77%, 66%)
CMYKcmyk(19.6%, 76.8%, 0%, 34.1%)
CIE-LABlab(36.80, 58.40, -49.68)
CIE-LCHlch(36.80, 76.67, 319.61°)
OKLaboklab(48.12% 0.1432 -0.1401)
OKLCHoklch(48.12% 0.2 315.6)
XYZxyz(17.7839, 9.4298, 37.9215)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8727A8 #48A827
analogous
#4627A8 #8727A8 #A82788
triadic
#8727A8 #A88727 #27A887
tetradic
#8727A8 #A84627 #48A827 #2788A8
square
#8727A8 #A84627 #48A827 #2788A8
split-complementary
#8727A8 #88A827 #27A846
monochromatic
#371045 #5F1B76 #8727A8 #AB3BD1 #C06CDD

Accessibility & contrast

On white

7.28
#8727A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8727A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8727A8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8727A8#FFFFFF#000000##FFFFFF
##8727A81.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8727a8;
/* rgb */ color: rgb(135, 39, 168);
/* oklch */ color: oklch(48.1% 0.200 315.6);
Tailwind
colors: {
  custom: {
    50: '#ae6cc3',
    500: '#8727a8',
    950: '#000000',
  },
}
SCSS
$custom: #8727a8;
$custom-light: #ae6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8727a8",
  "rgb": {
    "r": 135,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 284.651,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48122,
    "c": 0.20034,
    "h": 315.6
  },
  "luminance": 0.09429
}

Semantic roles & 50–950 ramp

primary
#8727A8
secondary
#7FC367
accent
#E5426C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8727A8

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

Preview Lab → · Contrast checker → · Palette generator →

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