#8E2289#8E2289

#8E2289 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.183 H 330.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8E2289
RGBrgb(142, 34, 137)
HSLhsl(303, 61%, 35%)
HSVhsv(303, 76%, 56%)
CMYKcmyk(0%, 76.1%, 3.5%, 44.3%)
CIE-LABlab(35.40, 55.89, -32.99)
CIE-LCHlch(35.40, 64.91, 329.45°)
OKLaboklab(46.73% 0.1583 -0.0911)
OKLCHoklch(46.73% 0.183 330.1)
XYZxyz(16.2426, 8.7023, 24.4863)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2289 #228E27
analogous
#5D228E #8E2289 #8E2253
triadic
#8E2289 #898E22 #22898E
tetradic
#8E2289 #8E5D22 #228E27 #22538E
square
#8E2289 #8E5D22 #228E27 #22538E
split-complementary
#8E2289 #538E22 #228E5D
monochromatic
#2B0A2A #5D1659 #8E2289 #BF2EB9 #D654D0

Accessibility & contrast

On white

7.66
#8E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2289
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2289#FFFFFF#000000##FFFFFF
##8E22891.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8C
Deuteranopia (green-blind)
#435886
Tritanopia (blue-blind)
#933154
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2289;
/* rgb */ color: rgb(142, 34, 137);
/* oklch */ color: oklch(46.7% 0.183 330.1);
Tailwind
colors: {
  custom: {
    50: '#b36aac',
    500: '#8e2289',
    950: '#000000',
  },
}
SCSS
$custom: #8e2289;
$custom-light: #b36aac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2289",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 302.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.18267,
    "h": 330.1
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#8E2289
secondary
#52BA57
accent
#E44B43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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