#8E1EA7#8E1EA7

#8E1EA7 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.210 H 319.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8E1EA7
RGBrgb(142, 30, 167)
HSLhsl(289, 70%, 39%)
HSVhsv(289, 82%, 65%)
CMYKcmyk(15%, 82%, 0%, 34.5%)
CIE-LABlab(36.87, 62.35, -48.90)
CIE-LCHlch(36.87, 79.24, 321.89°)
OKLaboklab(48.38% 0.1593 -0.1375)
OKLCHoklch(48.38% 0.21 319.2)
XYZxyz(18.5937, 9.4703, 37.4003)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1EA7 #37A71E
analogous
#491EA7 #8E1EA7 #A71E7B
triadic
#8E1EA7 #A78E1E #1EA78E
tetradic
#8E1EA7 #A7491E #37A71E #1E7BA7
square
#8E1EA7 #A7491E #37A71E #1E7BA7
split-complementary
#8E1EA7 #7BA71E #1EA749
monochromatic
#360B3F #621573 #8E1EA7 #B92AD9 #CA5DE2

Accessibility & contrast

On white

7.26
#8E1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8E1EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1EA7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1EA7#FFFFFF#000000##FFFFFF
##8E1EA71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#8E3E64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e1ea7;
/* rgb */ color: rgb(142, 30, 167);
/* oklch */ color: oklch(48.4% 0.210 319.2);
Tailwind
colors: {
  custom: {
    50: '#b36ac2',
    500: '#8e1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #8e1ea7;
$custom-light: #b36ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1ea7",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 289.051,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48375,
    "c": 0.21044,
    "h": 319.2
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#8E1EA7
secondary
#6EC65B
accent
#EC3B5C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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