#8E2191#8E2191

#8E2191 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.190 H 326.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2191
RGBrgb(142, 33, 145)
HSLhsl(298, 63%, 35%)
HSVhsv(298, 77%, 57%)
CMYKcmyk(2.1%, 77.2%, 0%, 43.1%)
CIE-LABlab(35.76, 57.55, -37.35)
CIE-LCHlch(35.76, 68.61, 327.02°)
OKLaboklab(47.13% 0.1591 -0.1038)
OKLCHoklch(47.13% 0.19 326.9)
XYZxyz(16.8097, 8.8840, 27.6120)
Luminance0.0888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2191 #249121
analogous
#562191 #8E2191 #91215C
triadic
#8E2191 #918E21 #21918E
tetradic
#8E2191 #915621 #249121 #215C91
square
#8E2191 #915621 #249121 #215C91
split-complementary
#8E2191 #5C9121 #219156
monochromatic
#2C0A2D #5D165F #8E2191 #BF2CC3 #D554D8

Accessibility & contrast

On white

7.56
#8E2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2191
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2191#FFFFFF#000000##FFFFFF
##8E21911.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#3E598E
Tritanopia (blue-blind)
#923458
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2191;
/* rgb */ color: rgb(142, 33, 145);
/* oklch */ color: oklch(47.1% 0.190 326.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8e2191',
    950: '#000000',
  },
}
SCSS
$custom: #8e2191;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2191",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 298.393,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.18997,
    "h": 326.9
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#8E2191
secondary
#55BC52
accent
#E64246
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2191

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

Preview Lab → · Contrast checker → · Palette generator →

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