#8E2188#8E2188

#8E2188 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.183 H 330.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8E2188
RGBrgb(142, 33, 136)
HSLhsl(303, 62%, 34%)
HSVhsv(303, 77%, 56%)
CMYKcmyk(0%, 76.8%, 4.2%, 44.3%)
CIE-LABlab(35.24, 56.05, -32.64)
CIE-LCHlch(35.24, 64.86, 329.78°)
OKLaboklab(46.59% 0.1592 -0.0901)
OKLCHoklch(46.59% 0.183 330.5)
XYZxyz(16.1431, 8.6174, 24.1009)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2188 #218E27
analogous
#5E218E #8E2188 #8E2152
triadic
#8E2188 #888E21 #21888E
tetradic
#8E2188 #8E5E21 #218E27 #21528E
square
#8E2188 #8E5E21 #218E27 #21528E
split-complementary
#8E2188 #528E21 #218E5E
monochromatic
#2B0A29 #5C1558 #8E2188 #C02DB8 #D752D0

Accessibility & contrast

On white

7.71
#8E2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8E2188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2188
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2188#FFFFFF#000000##FFFFFF
##8E21881.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498B
Deuteranopia (green-blind)
#435885
Tritanopia (blue-blind)
#943053
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2188;
/* rgb */ color: rgb(142, 33, 136);
/* oklch */ color: oklch(46.6% 0.183 330.5);
Tailwind
colors: {
  custom: {
    50: '#b369ab',
    500: '#8e2188',
    950: '#000000',
  },
}
SCSS
$custom: #8e2188;
$custom-light: #b369ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2188",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 303.303,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.18294,
    "h": 330.5
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#8E2188
secondary
#50BA56
accent
#E54B42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E2188

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

Preview Lab → · Contrast checker → · Palette generator →

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