#8E2789#8E2789

#8E2789 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.177 H 330.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E2789
RGBrgb(142, 39, 137)
HSLhsl(303, 57%, 35%)
HSVhsv(303, 73%, 56%)
CMYKcmyk(0%, 72.5%, 3.5%, 44.3%)
CIE-LABlab(36.00, 54.19, -32.05)
CIE-LCHlch(36.00, 62.96, 329.40°)
OKLaboklab(47.16% 0.1534 -0.0884)
OKLCHoklch(47.16% 0.177 330)
XYZxyz(16.3961, 9.0092, 24.5374)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2789 #278E2C
analogous
#60278E #8E2789 #8E2755
triadic
#8E2789 #898E27 #27898E
tetradic
#8E2789 #8E6027 #278E2C #27558E
square
#8E2789 #8E6027 #278E2C #27558E
split-complementary
#8E2789 #558E27 #278E60
monochromatic
#2E0D2C #5E1A5B #8E2789 #BE34B7 #D25DCD

Accessibility & contrast

On white

7.50
#8E2789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2789
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2789#FFFFFF#000000##FFFFFF
##8E27891.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8C
Deuteranopia (green-blind)
#455A86
Tritanopia (blue-blind)
#933455
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2789;
/* rgb */ color: rgb(142, 39, 137);
/* oklch */ color: oklch(47.2% 0.177 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8e2789',
    950: '#000000',
  },
}
SCSS
$custom: #8e2789;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2789",
  "rgb": {
    "r": 142,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 302.913,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.17708,
    "h": 330
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#8E2789
secondary
#59B85E
accent
#E04F48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2789

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

Preview Lab → · Contrast checker → · Palette generator →

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