#8E1185#8E1185

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

Color values

HEX#8E1185
RGBrgb(142, 17, 133)
HSLhsl(304, 79%, 31%)
HSVhsv(304, 88%, 56%)
CMYKcmyk(0%, 88%, 6.3%, 44.3%)
CIE-LABlab(33.66, 59.64, -33.28)
CIE-LCHlch(33.66, 68.30, 330.84°)
OKLaboklab(45.41% 0.171 -0.0918)
OKLCHoklch(45.41% 0.194 331.8)
XYZxyz(15.5895, 7.8465, 22.8792)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1185 #118E1A
analogous
#58118E #8E1185 #8E1146
triadic
#8E1185 #858E11 #11858E
tetradic
#8E1185 #8E5811 #118E1A #11468E
square
#8E1185 #8E5811 #118E1A #11468E
split-complementary
#8E1185 #468E11 #118E58
monochromatic
#21041F #570A52 #8E1185 #C518B8 #E733DA

Accessibility & contrast

On white

8.17
#8E1185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1185
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1185#FFFFFF#000000##FFFFFF
##8E11851.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#405582
Tritanopia (blue-blind)
#94254E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1185;
/* rgb */ color: rgb(142, 17, 133);
/* oklch */ color: oklch(45.4% 0.194 331.8);
Tailwind
colors: {
  custom: {
    50: '#b364a9',
    500: '#8e1185',
    950: '#000000',
  },
}
SCSS
$custom: #8e1185;
$custom-light: #b364a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1185",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 133
  },
  "hsl": {
    "h": 304.32,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.1941,
    "h": 331.8
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#8E1185
secondary
#38C242
accent
#F54133
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E1185

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

Preview Lab → · Contrast checker → · Palette generator →

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