#8E27AE#8E27AE

#8E27AE is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.208 H 316.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E27AE
RGBrgb(142, 39, 174)
HSLhsl(286, 63%, 42%)
HSVhsv(286, 78%, 68%)
CMYKcmyk(18.4%, 77.6%, 0%, 31.8%)
CIE-LABlab(38.30, 60.93, -50.78)
CIE-LCHlch(38.30, 79.32, 320.19°)
OKLaboklab(49.53% 0.1511 -0.1431)
OKLCHoklch(49.53% 0.208 316.6)
XYZxyz(19.5197, 10.2586, 40.9881)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27AE #47AE27
analogous
#4B27AE #8E27AE #AE278B
triadic
#8E27AE #AE8E27 #27AE8E
tetradic
#8E27AE #AE4B27 #47AE27 #278BAE
square
#8E27AE #AE4B27 #47AE27 #278BAE
split-complementary
#8E27AE #8BAE27 #27AE4B
monochromatic
#3C114A #651C7C #8E27AE #B03ED4 #C570DF

Accessibility & contrast

On white

6.88
#8E27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27AE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27AE#FFFFFF#000000##FFFFFF
##8E27AE1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#275DAB
Tritanopia (blue-blind)
#8C456A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e27ae;
/* rgb */ color: rgb(142, 39, 174);
/* oklch */ color: oklch(49.5% 0.208 316.6);
Tailwind
colors: {
  custom: {
    50: '#b36dc7',
    500: '#8e27ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e27ae;
$custom-light: #b36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27ae",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 285.778,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49534,
    "c": 0.20812,
    "h": 316.6
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#8E27AE
secondary
#80C66B
accent
#E64169
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E27AE

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

Preview Lab → · Contrast checker → · Palette generator →

#8E27AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva