#8E2189#8E2189

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

Color values

HEX#8E2189
RGBrgb(142, 33, 137)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 76.8%, 3.5%, 44.3%)
CIE-LABlab(35.29, 56.21, -33.17)
CIE-LCHlch(35.29, 65.27, 329.46°)
OKLaboklab(46.65% 0.1592 -0.0916)
OKLCHoklch(46.65% 0.184 330.1)
XYZxyz(16.2145, 8.6459, 24.4769)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2189 #218E26
analogous
#5D218E #8E2189 #8E2153
triadic
#8E2189 #898E21 #21898E
tetradic
#8E2189 #8E5D21 #218E26 #21538E
square
#8E2189 #8E5D21 #218E26 #21538E
split-complementary
#8E2189 #538E21 #218E5D
monochromatic
#2B0A29 #5C1559 #8E2189 #C02DB9 #D752D1

Accessibility & contrast

On white

7.70
#8E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2189
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2189#FFFFFF#000000##FFFFFF
##8E21891.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2189;
/* rgb */ color: rgb(142, 33, 137);
/* oklch */ color: oklch(46.7% 0.184 330.1);
Tailwind
colors: {
  custom: {
    50: '#b369ac',
    500: '#8e2189',
    950: '#000000',
  },
}
SCSS
$custom: #8e2189;
$custom-light: #b369ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2189",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 302.752,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46651,
    "c": 0.18371,
    "h": 330.1
  },
  "luminance": 0.08645
}

Semantic roles & 50–950 ramp

primary
#8E2189
secondary
#50BA55
accent
#E54A42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2189

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

Preview Lab → · Contrast checker → · Palette generator →

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