#8E27AF#8E27AF

#8E27AF is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.209 H 316.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8E27AF
RGBrgb(142, 39, 175)
HSLhsl(285, 64%, 42%)
HSVhsv(285, 78%, 69%)
CMYKcmyk(18.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(38.37, 61.13, -51.27)
CIE-LCHlch(38.37, 79.78, 320.01°)
OKLaboklab(49.6% 0.151 -0.1445)
OKLCHoklch(49.6% 0.209 316.2)
XYZxyz(19.6175, 10.2978, 41.5034)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27AF #48AF27
analogous
#4A27AF #8E27AF #AF278C
triadic
#8E27AF #AF8E27 #27AF8E
tetradic
#8E27AF #AF4A27 #48AF27 #278CAF
square
#8E27AF #AF4A27 #48AF27 #278CAF
split-complementary
#8E27AF #8CAF27 #27AF4A
monochromatic
#3D114B #651C7D #8E27AF #B03FD4 #C571DF

Accessibility & contrast

On white

6.86
#8E27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8E27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27AF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27AF#FFFFFF#000000##FFFFFF
##8E27AF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#265DAC
Tritanopia (blue-blind)
#8C466B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e27af;
/* rgb */ color: rgb(142, 39, 175);
/* oklch */ color: oklch(49.6% 0.209 316.2);
Tailwind
colors: {
  custom: {
    50: '#b36dc8',
    500: '#8e27af',
    950: '#000000',
  },
}
SCSS
$custom: #8e27af;
$custom-light: #b36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27af",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 285.441,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.20899,
    "h": 316.2
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#8E27AF
secondary
#82C66B
accent
#E74169
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #8E27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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