#8E1884#8E1884

#8E1884 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.188 H 332.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8E1884
RGBrgb(142, 24, 132)
HSLhsl(305, 71%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 83.1%, 7%, 44.3%)
CIE-LABlab(34.13, 57.95, -31.91)
CIE-LCHlch(34.13, 66.16, 331.16°)
OKLaboklab(45.73% 0.1665 -0.0879)
OKLCHoklch(45.73% 0.188 332.2)
XYZxyz(15.6469, 8.0713, 22.5592)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1884 #188E22
analogous
#5D188E #8E1884 #8E1849
triadic
#8E1884 #848E18 #18848E
tetradic
#8E1884 #8E5D18 #188E22 #18498E
square
#8E1884 #8E5D18 #188E22 #18498E
split-complementary
#8E1884 #498E18 #188E5D
monochromatic
#250623 #5A0F53 #8E1884 #C221B5 #DF41D2

Accessibility & contrast

On white

8.03
#8E1884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1884
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1884#FFFFFF#000000##FFFFFF
##8E18841.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4687
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#94284F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1884;
/* rgb */ color: rgb(142, 24, 132);
/* oklch */ color: oklch(45.7% 0.188 332.2);
Tailwind
colors: {
  custom: {
    50: '#b366a8',
    500: '#8e1884',
    950: '#000000',
  },
}
SCSS
$custom: #8e1884;
$custom-light: #b366a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1884",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 305.085,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.18832,
    "h": 332.2
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#8E1884
secondary
#42C04D
accent
#EE493A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1884

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

Preview Lab → · Contrast checker → · Palette generator →

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