#8E2B89#8E2B89

#8E2B89 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.172 H 330.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8E2B89
RGBrgb(142, 43, 137)
HSLhsl(303, 54%, 36%)
HSVhsv(303, 70%, 56%)
CMYKcmyk(0%, 69.7%, 3.5%, 44.3%)
CIE-LABlab(36.53, 52.70, -31.22)
CIE-LCHlch(36.53, 61.25, 329.36°)
OKLaboklab(47.54% 0.1492 -0.086)
OKLCHoklch(47.54% 0.172 330)
XYZxyz(16.5345, 9.2859, 24.5836)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2B89 #2B8E30
analogous
#622B8E #8E2B89 #8E2B58
triadic
#8E2B89 #898E2B #2B898E
tetradic
#8E2B89 #8E622B #2B8E30 #2B588E
square
#8E2B89 #8E622B #2B8E30 #2B588E
split-complementary
#8E2B89 #588E2B #2B8E62
monochromatic
#300F2E #5F1D5C #8E2B89 #BD39B6 #D063CA

Accessibility & contrast

On white

7.35
#8E2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8E2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2B89
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2B89#FFFFFF#000000##FFFFFF
##8E2B891.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8C
Deuteranopia (green-blind)
#475B86
Tritanopia (blue-blind)
#933756
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8e2b89;
/* rgb */ color: rgb(142, 43, 137);
/* oklch */ color: oklch(47.5% 0.172 330.0);
Tailwind
colors: {
  custom: {
    50: '#b26dac',
    500: '#8e2b89',
    950: '#000000',
  },
}
SCSS
$custom: #8e2b89;
$custom-light: #b26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2b89",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 303.03,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.17219,
    "h": 330
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#8E2B89
secondary
#5FB663
accent
#DD524B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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