#8E1186#8E1186

#8E1186 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.195 H 331.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1186
RGBrgb(142, 17, 134)
HSLhsl(304, 79%, 31%)
HSVhsv(304, 88%, 56%)
CMYKcmyk(0%, 88%, 5.6%, 44.3%)
CIE-LABlab(33.72, 59.79, -33.81)
CIE-LCHlch(33.72, 68.69, 330.51°)
OKLaboklab(45.48% 0.171 -0.0934)
OKLCHoklch(45.48% 0.195 331.4)
XYZxyz(15.6589, 7.8743, 23.2448)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1186 #118E19
analogous
#57118E #8E1186 #8E1147
triadic
#8E1186 #868E11 #11868E
tetradic
#8E1186 #8E5711 #118E19 #11478E
square
#8E1186 #8E5711 #118E19 #11478E
split-complementary
#8E1186 #478E11 #118E57
monochromatic
#21041F #570A52 #8E1186 #C518BA #E733DB

Accessibility & contrast

On white

8.16
#8E1186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1186
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1186#FFFFFF#000000##FFFFFF
##8E11861.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#3F5583
Tritanopia (blue-blind)
#94264F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1186;
/* rgb */ color: rgb(142, 17, 134);
/* oklch */ color: oklch(45.5% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#b364aa',
    500: '#8e1186',
    950: '#000000',
  },
}
SCSS
$custom: #8e1186;
$custom-light: #b364aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1186",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 134
  },
  "hsl": {
    "h": 303.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.1948,
    "h": 331.4
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#8E1186
secondary
#38C241
accent
#F53F33
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1186

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

Preview Lab → · Contrast checker → · Palette generator →

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