#8E2391#8E2391

#8E2391 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.188 H 326.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2391
RGBrgb(142, 35, 145)
HSLhsl(298, 61%, 35%)
HSVhsv(298, 76%, 57%)
CMYKcmyk(2.1%, 75.9%, 0%, 43.1%)
CIE-LABlab(35.98, 56.92, -37.00)
CIE-LCHlch(35.98, 67.89, 326.97°)
OKLaboklab(47.29% 0.1573 -0.1028)
OKLCHoklch(47.29% 0.188 326.9)
XYZxyz(16.8669, 8.9984, 27.6310)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2391 #269123
analogous
#572391 #8E2391 #91235D
triadic
#8E2391 #918E23 #23918E
tetradic
#8E2391 #915723 #269123 #235D91
square
#8E2391 #915723 #269123 #235D91
split-complementary
#8E2391 #5D9123 #239157
monochromatic
#2D0B2E #5E1760 #8E2391 #BE2FC2 #D358D7

Accessibility & contrast

On white

7.50
#8E2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2391
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2391#FFFFFF#000000##FFFFFF
##8E23911.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C94
Deuteranopia (green-blind)
#3F598E
Tritanopia (blue-blind)
#923559
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2391;
/* rgb */ color: rgb(142, 35, 145);
/* oklch */ color: oklch(47.3% 0.188 326.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab2',
    500: '#8e2391',
    950: '#000000',
  },
}
SCSS
$custom: #8e2391;
$custom-light: #b36ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2391",
  "rgb": {
    "r": 142,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 298.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.18792,
    "h": 326.9
  },
  "luminance": 0.08997
}

Semantic roles & 50–950 ramp

primary
#8E2391
secondary
#58BB55
accent
#E44448
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2391

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

Preview Lab → · Contrast checker → · Palette generator →

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