#8E2591#8E2591

#8E2591 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.186 H 326.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8E2591
RGBrgb(142, 37, 145)
HSLhsl(298, 59%, 36%)
HSVhsv(298, 74%, 57%)
CMYKcmyk(2.1%, 74.5%, 0%, 43.1%)
CIE-LABlab(36.21, 56.25, -36.63)
CIE-LCHlch(36.21, 67.13, 326.93°)
OKLaboklab(47.46% 0.1555 -0.1017)
OKLCHoklch(47.46% 0.186 326.8)
XYZxyz(16.9274, 9.1194, 27.6512)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2591 #289125
analogous
#582591 #8E2591 #91255E
triadic
#8E2591 #918E25 #25918E
tetradic
#8E2591 #915825 #289125 #255E91
square
#8E2591 #915825 #289125 #255E91
split-complementary
#8E2591 #5E9125 #259158
monochromatic
#2E0C2F #5E1960 #8E2591 #BE31C2 #D25BD5

Accessibility & contrast

On white

7.44
#8E2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2591
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2591#FFFFFF#000000##FFFFFF
##8E25911.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094D94
Deuteranopia (green-blind)
#405A8E
Tritanopia (blue-blind)
#923759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2591;
/* rgb */ color: rgb(142, 37, 145);
/* oklch */ color: oklch(47.5% 0.186 326.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8e2591',
    950: '#000000',
  },
}
SCSS
$custom: #8e2591;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2591",
  "rgb": {
    "r": 142,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 298.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47457,
    "c": 0.18578,
    "h": 326.8
  },
  "luminance": 0.09118
}

Semantic roles & 50–950 ramp

primary
#8E2591
secondary
#5BBA58
accent
#E3454A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2591

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

Preview Lab → · Contrast checker → · Palette generator →

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