#8E118D#8E118D

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

Color values

HEX#8E118D
RGBrgb(142, 17, 141)
HSLhsl(300, 79%, 31%)
HSVhsv(300, 88%, 56%)
CMYKcmyk(0%, 88%, 0.7%, 44.3%)
CIE-LABlab(34.14, 60.89, -37.47)
CIE-LCHlch(34.14, 71.50, 328.39°)
OKLaboklab(45.91% 0.1706 -0.104)
OKLCHoklch(45.91% 0.2 328.6)
XYZxyz(16.1633, 8.0760, 25.9017)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E118D #118E12
analogous
#50118E #8E118D #8E114E
triadic
#8E118D #8D8E11 #118D8E
tetradic
#8E118D #8E5011 #118E12 #114E8E
square
#8E118D #8E5011 #118E12 #114E8E
split-complementary
#8E118D #4E8E11 #118E50
monochromatic
#210420 #570A57 #8E118D #C518C3 #E733E5

Accessibility & contrast

On white

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

On black

2.62
#8E118D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E118D#FFFFFF#000000##FFFFFF
##8E118D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#932A53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e118d;
/* rgb */ color: rgb(142, 17, 141);
/* oklch */ color: oklch(45.9% 0.200 328.6);
Tailwind
colors: {
  custom: {
    50: '#b364af',
    500: '#8e118d',
    950: '#000000',
  },
}
SCSS
$custom: #8e118d;
$custom-light: #b364af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e118d",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 141
  },
  "hsl": {
    "h": 300.48,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45908,
    "c": 0.19983,
    "h": 328.6
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#8E118D
secondary
#38C239
accent
#F53433
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120610
muted
#817A7F

Preview Lab

Preview with #8E118D

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

Preview Lab → · Contrast checker → · Palette generator →

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