#8E2893#8E2893

#8E2893 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.184 H 326.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8E2893
RGBrgb(142, 40, 147)
HSLhsl(297, 57%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(3.4%, 72.8%, 0%, 42.4%)
CIE-LABlab(36.70, 55.56, -37.08)
CIE-LCHlch(36.70, 66.79, 326.28°)
OKLaboklab(47.84% 0.1525 -0.103)
OKLCHoklch(47.84% 0.184 326)
XYZxyz(17.1802, 9.3761, 28.5030)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2893 #2D9328
analogous
#592893 #8E2893 #932863
triadic
#8E2893 #938E28 #28938E
tetradic
#8E2893 #935928 #2D9328 #286393
square
#8E2893 #935928 #2D9328 #286393
split-complementary
#8E2893 #639328 #289359
monochromatic
#310E33 #601B63 #8E2893 #BC35C3 #CF61D4

Accessibility & contrast

On white

7.30
#8E2893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8E2893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2893
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2893#FFFFFF#000000##FFFFFF
##8E28931.007.302.877.30
#FFFFFF7.301.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4E96
Deuteranopia (green-blind)
#405B90
Tritanopia (blue-blind)
#92395B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2893;
/* rgb */ color: rgb(142, 40, 147);
/* oklch */ color: oklch(47.8% 0.184 326.0);
Tailwind
colors: {
  custom: {
    50: '#b26cb3',
    500: '#8e2893',
    950: '#000000',
  },
}
SCSS
$custom: #8e2893;
$custom-light: #b26cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2893",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 297.196,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.18405,
    "h": 326
  },
  "luminance": 0.09375
}

Semantic roles & 50–950 ramp

primary
#8E2893
secondary
#61BA5D
accent
#E0474E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2893

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

Preview Lab → · Contrast checker → · Palette generator →

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