#8E2491#8E2491

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

Color values

HEX#8E2491
RGBrgb(142, 36, 145)
HSLhsl(298, 60%, 35%)
HSVhsv(298, 75%, 57%)
CMYKcmyk(2.1%, 75.2%, 0%, 43.1%)
CIE-LABlab(36.10, 56.59, -36.82)
CIE-LCHlch(36.10, 67.51, 326.95°)
OKLaboklab(47.37% 0.1564 -0.1022)
OKLCHoklch(47.37% 0.187 326.8)
XYZxyz(16.8968, 9.0580, 27.6410)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2491 #279124
analogous
#582491 #8E2491 #91245D
triadic
#8E2491 #918E24 #24918E
tetradic
#8E2491 #915824 #279124 #245D91
square
#8E2491 #915824 #279124 #245D91
split-complementary
#8E2491 #5D9124 #249158
monochromatic
#2E0C2F #5E1860 #8E2491 #BE30C2 #D259D6

Accessibility & contrast

On white

7.47
#8E2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2491
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2491#FFFFFF#000000##FFFFFF
##8E24911.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2491;
/* rgb */ color: rgb(142, 36, 145);
/* oklch */ color: oklch(47.4% 0.187 326.8);
Tailwind
colors: {
  custom: {
    50: '#b36bb2',
    500: '#8e2491',
    950: '#000000',
  },
}
SCSS
$custom: #8e2491;
$custom-light: #b36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2491",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 298.349,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.18686,
    "h": 326.8
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#8E2491
secondary
#59BA56
accent
#E34449
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2491

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

Preview Lab → · Contrast checker → · Palette generator →

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