#8E2A89#8E2A89

#8E2A89 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 330.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8E2A89
RGBrgb(142, 42, 137)
HSLhsl(303, 54%, 36%)
HSVhsv(303, 70%, 56%)
CMYKcmyk(0%, 70.4%, 3.5%, 44.3%)
CIE-LABlab(36.39, 53.08, -31.43)
CIE-LCHlch(36.39, 61.69, 329.37°)
OKLaboklab(47.44% 0.1503 -0.0866)
OKLCHoklch(47.44% 0.173 330)
XYZxyz(16.4986, 9.2141, 24.5716)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A89 #2A8E2F
analogous
#612A8E #8E2A89 #8E2A57
triadic
#8E2A89 #898E2A #2A898E
tetradic
#8E2A89 #8E612A #2A8E2F #2A578E
square
#8E2A89 #8E612A #2A8E2F #2A578E
split-complementary
#8E2A89 #578E2A #2A8E61
monochromatic
#300E2E #5F1C5B #8E2A89 #BD38B7 #D162CB

Accessibility & contrast

On white

7.39
#8E2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8E2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A89
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A89#FFFFFF#000000##FFFFFF
##8E2A891.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#475A86
Tritanopia (blue-blind)
#933656
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2a89;
/* rgb */ color: rgb(142, 42, 137);
/* oklch */ color: oklch(47.4% 0.173 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26dac',
    500: '#8e2a89',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a89;
$custom-light: #b26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a89",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 303,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4744,
    "c": 0.17345,
    "h": 330
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#8E2A89
secondary
#5DB662
accent
#DE514A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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