#8E2889#8E2889

#8E2889 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 330.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8E2889
RGBrgb(142, 40, 137)
HSLhsl(303, 56%, 36%)
HSVhsv(303, 72%, 56%)
CMYKcmyk(0%, 71.8%, 3.5%, 44.3%)
CIE-LABlab(36.13, 53.83, -31.85)
CIE-LCHlch(36.13, 62.54, 329.39°)
OKLaboklab(47.25% 0.1524 -0.0878)
OKLCHoklch(47.25% 0.176 330)
XYZxyz(16.4294, 9.0758, 24.5485)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2889 #288E2D
analogous
#60288E #8E2889 #8E2856
triadic
#8E2889 #898E28 #28898E
tetradic
#8E2889 #8E6028 #288E2D #28568E
square
#8E2889 #8E6028 #288E2D #28568E
split-complementary
#8E2889 #568E28 #288E60
monochromatic
#2F0D2D #5E1B5B #8E2889 #BE35B7 #D25FCC

Accessibility & contrast

On white

7.46
#8E2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2889
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2889#FFFFFF#000000##FFFFFF
##8E28891.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8C
Deuteranopia (green-blind)
#465A86
Tritanopia (blue-blind)
#933556
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2889;
/* rgb */ color: rgb(142, 40, 137);
/* oklch */ color: oklch(47.3% 0.176 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8e2889',
    950: '#000000',
  },
}
SCSS
$custom: #8e2889;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2889",
  "rgb": {
    "r": 142,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 302.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.17589,
    "h": 330
  },
  "luminance": 0.09075
}

Semantic roles & 50–950 ramp

primary
#8E2889
secondary
#5BB75F
accent
#DF5048
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2889

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

Preview Lab → · Contrast checker → · Palette generator →

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