#8E1EA1#8E1EA1

#8E1EA1 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.206 H 321.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8E1EA1
RGBrgb(142, 30, 161)
HSLhsl(291, 69%, 37%)
HSVhsv(291, 81%, 63%)
CMYKcmyk(11.8%, 81.4%, 0%, 36.9%)
CIE-LABlab(36.47, 61.25, -45.95)
CIE-LCHlch(36.47, 76.57, 323.13°)
OKLaboklab(47.96% 0.1602 -0.1289)
OKLCHoklch(47.96% 0.206 321.2)
XYZxyz(18.0519, 9.2536, 34.5466)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1EA1 #31A11E
analogous
#4D1EA1 #8E1EA1 #A11E72
triadic
#8E1EA1 #A18E1E #1EA18E
tetradic
#8E1EA1 #A14D1E #31A11E #1E72A1
square
#8E1EA1 #A14D1E #31A11E #1E72A1
split-complementary
#8E1EA1 #72A11E #1EA14D
monochromatic
#330B3A #61146D #8E1EA1 #BC28D5 #CD59E0

Accessibility & contrast

On white

7.37
#8E1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8E1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1EA1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1EA1#FFFFFF#000000##FFFFFF
##8E1EA11.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#8F3B61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e1ea1;
/* rgb */ color: rgb(142, 30, 161);
/* oklch */ color: oklch(48.0% 0.206 321.2);
Tailwind
colors: {
  custom: {
    50: '#b369bd',
    500: '#8e1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #8e1ea1;
$custom-light: #b369bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1ea1",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 291.298,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.20556,
    "h": 321.2
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#8E1EA1
secondary
#67C457
accent
#EB3C56
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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