#8E27A7#8E27A7

#8E27A7 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.202 H 318.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8E27A7
RGBrgb(142, 39, 167)
HSLhsl(288, 62%, 40%)
HSVhsv(288, 77%, 65%)
CMYKcmyk(15%, 76.6%, 0%, 34.5%)
CIE-LABlab(37.83, 59.58, -47.37)
CIE-LCHlch(37.83, 76.12, 321.52°)
OKLaboklab(49.05% 0.1521 -0.1331)
OKLCHoklch(49.05% 0.202 318.8)
XYZxyz(18.8550, 9.9928, 37.4873)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E27A7 #40A727
analogous
#4E27A7 #8E27A7 #A72780
triadic
#8E27A7 #A78E27 #27A78E
tetradic
#8E27A7 #A74E27 #40A727 #2780A7
square
#8E27A7 #A74E27 #40A727 #2780A7
split-complementary
#8E27A7 #80A727 #27A74E
monochromatic
#3A1044 #641B75 #8E27A7 #B43AD1 #C76CDD

Accessibility & contrast

On white

7.00
#8E27A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E27A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E27A7
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E27A7#FFFFFF#000000##FFFFFF
##8E27A71.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#2F5CA4
Tritanopia (blue-blind)
#8E4266
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e27a7;
/* rgb */ color: rgb(142, 39, 167);
/* oklch */ color: oklch(49.0% 0.202 318.8);
Tailwind
colors: {
  custom: {
    50: '#b36dc2',
    500: '#8e27a7',
    950: '#000000',
  },
}
SCSS
$custom: #8e27a7;
$custom-light: #b36dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e27a7",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 288.281,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.20207,
    "h": 318.8
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#8E27A7
secondary
#79C367
accent
#E54362
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8E27A7

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

Preview Lab → · Contrast checker → · Palette generator →

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