#8E1EA8#8E1EA8

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

Color values

HEX#8E1EA8
RGBrgb(142, 30, 168)
HSLhsl(289, 70%, 39%)
HSVhsv(289, 82%, 66%)
CMYKcmyk(15.5%, 82.1%, 0%, 34.1%)
CIE-LABlab(36.94, 62.53, -49.39)
CIE-LCHlch(36.94, 79.69, 321.70°)
OKLaboklab(48.45% 0.1591 -0.139)
OKLCHoklch(48.45% 0.211 318.9)
XYZxyz(18.6865, 9.5074, 37.8890)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1EA8 #38A81E
analogous
#491EA8 #8E1EA8 #A81E7D
triadic
#8E1EA8 #A88E1E #1EA88E
tetradic
#8E1EA8 #A8491E #38A81E #1E7DA8
square
#8E1EA8 #A8491E #38A81E #1E7DA8
split-complementary
#8E1EA8 #7DA81E #1EA849
monochromatic
#360B40 #621574 #8E1EA8 #B82AD9 #C95EE2

Accessibility & contrast

On white

7.24
#8E1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8E1EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1EA8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1EA8#FFFFFF#000000##FFFFFF
##8E1EA81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#8E3E65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e1ea8;
/* rgb */ color: rgb(142, 30, 168);
/* oklch */ color: oklch(48.4% 0.211 318.9);
Tailwind
colors: {
  custom: {
    50: '#b36ac3',
    500: '#8e1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #8e1ea8;
$custom-light: #b36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1ea8",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 288.696,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.21126,
    "h": 318.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#8E1EA8
secondary
#6FC75B
accent
#ED3B5D
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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