#8E27BE#8E27BE

#8E27BE is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.222 H 311.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8E27BE
RGBrgb(142, 39, 190)
HSLhsl(281, 66%, 45%)
HSVhsv(281, 79%, 75%)
CMYKcmyk(25.3%, 79.5%, 0%, 25.5%)
CIE-LABlab(39.45, 64.11, -58.39)
CIE-LCHlch(39.45, 86.72, 317.67°)
OKLaboklab(50.7% 0.1482 -0.1655)
OKLCHoklch(50.7% 0.222 311.8)
XYZxyz(21.1734, 10.9201, 49.6976)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27BE #57BE27
analogous
#4227BE #8E27BE #BE27A3
triadic
#8E27BE #BE8E27 #27BE8E
tetradic
#8E27BE #BE4227 #57BE27 #27A3BE
square
#8E27BE #BE4227 #57BE27 #27A3BE
split-complementary
#8E27BE #A3BE27 #27BE42
monochromatic
#421258 #681D8B #8E27BE #AB49DA #C37BE4

Accessibility & contrast

On white

6.60
#8E27BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8E27BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27BE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27BE#FFFFFF#000000##FFFFFF
##8E27BE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#884D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e27be;
/* rgb */ color: rgb(142, 39, 190);
/* oklch */ color: oklch(50.7% 0.222 311.8);
Tailwind
colors: {
  custom: {
    50: '#b46ed2',
    500: '#8e27be',
    950: '#000000',
  },
}
SCSS
$custom: #8e27be;
$custom-light: #b46ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27be",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 190
  },
  "hsl": {
    "h": 280.927,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50698,
    "c": 0.22211,
    "h": 311.8
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#8E27BE
secondary
#90CC75
accent
#E93F75
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E27BE

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

Preview Lab → · Contrast checker → · Palette generator →

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