#8E117C#8E117C

#8E117C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.188 H 335.5°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#8E117C
RGBrgb(142, 17, 124)
HSLhsl(309, 79%, 31%)
HSVhsv(309, 88%, 56%)
CMYKcmyk(0%, 88%, 12.7%, 44.3%)
CIE-LABlab(33.15, 58.30, -28.45)
CIE-LCHlch(33.15, 64.87, 333.98°)
OKLaboklab(44.89% 0.171 -0.0779)
OKLCHoklch(44.89% 0.188 335.5)
XYZxyz(14.9941, 7.6084, 19.7438)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E117C #118E23
analogous
#61118E #8E117C #8E113D
triadic
#8E117C #7C8E11 #117C8E
tetradic
#8E117C #8E6111 #118E23 #113D8E
square
#8E117C #8E6111 #118E23 #113D8E
split-complementary
#8E117C #3D8E11 #118E61
monochromatic
#21041D #570A4C #8E117C #C518AC #E733CD

Accessibility & contrast

On white

8.33
#8E117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8E117C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E117C
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E117C#FFFFFF#000000##FFFFFF
##8E117C1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#445479
Tritanopia (blue-blind)
#961F49
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e117c;
/* rgb */ color: rgb(142, 17, 124);
/* oklch */ color: oklch(44.9% 0.188 335.5);
Tailwind
colors: {
  custom: {
    50: '#b364a2',
    500: '#8e117c',
    950: '#000000',
  },
}
SCSS
$custom: #8e117c;
$custom-light: #b364a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e117c",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 308.64,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4489,
    "c": 0.18786,
    "h": 335.5
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#8E117C
secondary
#38C24C
accent
#F54F33
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E117C

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

Preview Lab → · Contrast checker → · Palette generator →

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