#8E27AA#8E27AA

#8E27AA is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.205 H 317.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8E27AA
RGBrgb(142, 39, 170)
HSLhsl(287, 63%, 41%)
HSVhsv(287, 77%, 67%)
CMYKcmyk(16.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(38.03, 60.16, -48.84)
CIE-LCHlch(38.03, 77.49, 320.93°)
OKLaboklab(49.26% 0.1517 -0.1374)
OKLCHoklch(49.26% 0.205 317.8)
XYZxyz(19.1355, 10.1050, 38.9649)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27AA #43AA27
analogous
#4D27AA #8E27AA #AA2784
triadic
#8E27AA #AA8E27 #27AA8E
tetradic
#8E27AA #AA4D27 #43AA27 #2784AA
square
#8E27AA #AA4D27 #43AA27 #2784AA
split-complementary
#8E27AA #84AA27 #27AA4D
monochromatic
#3B1046 #641C78 #8E27AA #B23CD2 #C66EDE

Accessibility & contrast

On white

6.95
#8E27AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E27AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27AA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27AA#FFFFFF#000000##FFFFFF
##8E27AA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2C5DA7
Tritanopia (blue-blind)
#8D4468
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e27aa;
/* rgb */ color: rgb(142, 39, 170);
/* oklch */ color: oklch(49.3% 0.205 317.8);
Tailwind
colors: {
  custom: {
    50: '#b36dc4',
    500: '#8e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #8e27aa;
$custom-light: #b36dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27aa",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 287.176,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49255,
    "c": 0.20466,
    "h": 317.8
  },
  "luminance": 0.10104
}

Semantic roles & 50–950 ramp

primary
#8E27AA
secondary
#7CC469
accent
#E64265
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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