#8E2894#8E2894

#8E2894 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.185 H 325.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8E2894
RGBrgb(142, 40, 148)
HSLhsl(297, 57%, 37%)
HSVhsv(297, 73%, 58%)
CMYKcmyk(4.1%, 73%, 0%, 42%)
CIE-LABlab(36.76, 55.73, -37.60)
CIE-LCHlch(36.76, 67.23, 326.00°)
OKLaboklab(47.9% 0.1525 -0.1045)
OKLCHoklch(47.9% 0.185 325.6)
XYZxyz(17.2590, 9.4076, 28.9180)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2894 #2E9428
analogous
#582894 #8E2894 #942864
triadic
#8E2894 #948E28 #28948E
tetradic
#8E2894 #945828 #2E9428 #286494
square
#8E2894 #945828 #2E9428 #286494
split-complementary
#8E2894 #649428 #289458
monochromatic
#320E34 #601B64 #8E2894 #BC35C4 #CE62D5

Accessibility & contrast

On white

7.29
#8E2894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8E2894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2894
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2894#FFFFFF#000000##FFFFFF
##8E28941.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E97
Deuteranopia (green-blind)
#3F5B91
Tritanopia (blue-blind)
#913A5C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2894;
/* rgb */ color: rgb(142, 40, 148);
/* oklch */ color: oklch(47.9% 0.185 325.6);
Tailwind
colors: {
  custom: {
    50: '#b26db4',
    500: '#8e2894',
    950: '#000000',
  },
}
SCSS
$custom: #8e2894;
$custom-light: #b26db4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2894",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 296.667,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.18488,
    "h": 325.6
  },
  "luminance": 0.09406
}

Semantic roles & 50–950 ramp

primary
#8E2894
secondary
#63BA5E
accent
#E14750
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2894

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

Preview Lab → · Contrast checker → · Palette generator →

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