#8E1184#8E1184

#8E1184 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.193 H 332.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E1184
RGBrgb(142, 17, 132)
HSLhsl(305, 79%, 31%)
HSVhsv(305, 88%, 56%)
CMYKcmyk(0%, 88%, 7%, 44.3%)
CIE-LABlab(33.60, 59.49, -32.75)
CIE-LCHlch(33.60, 67.91, 331.17°)
OKLaboklab(45.35% 0.171 -0.0903)
OKLCHoklch(45.35% 0.193 332.2)
XYZxyz(15.5207, 7.8190, 22.5171)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1184 #118E1B
analogous
#59118E #8E1184 #8E1145
triadic
#8E1184 #848E11 #11848E
tetradic
#8E1184 #8E5911 #118E1B #11458E
square
#8E1184 #8E5911 #118E1B #11458E
split-complementary
#8E1184 #458E11 #118E59
monochromatic
#21041E #570A51 #8E1184 #C518B7 #E733D8

Accessibility & contrast

On white

8.19
#8E1184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E1184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1184
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1184#FFFFFF#000000##FFFFFF
##8E11841.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004487
Deuteranopia (green-blind)
#405581
Tritanopia (blue-blind)
#94244E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1184;
/* rgb */ color: rgb(142, 17, 132);
/* oklch */ color: oklch(45.4% 0.193 332.2);
Tailwind
colors: {
  custom: {
    50: '#b364a8',
    500: '#8e1184',
    950: '#000000',
  },
}
SCSS
$custom: #8e1184;
$custom-light: #b364a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1184",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 132
  },
  "hsl": {
    "h": 304.8,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45354,
    "c": 0.1934,
    "h": 332.2
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#8E1184
secondary
#38C243
accent
#F54233
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1184

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

Preview Lab → · Contrast checker → · Palette generator →

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