#8E117A#8E117A

#8E117A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.187 H 336.4°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8E117A
RGBrgb(142, 17, 122)
HSLhsl(310, 79%, 31%)
HSVhsv(310, 88%, 56%)
CMYKcmyk(0%, 88%, 14.1%, 44.3%)
CIE-LABlab(33.05, 58.01, -27.37)
CIE-LCHlch(33.05, 64.14, 334.74°)
OKLaboklab(44.78% 0.1709 -0.0748)
OKLCHoklch(44.78% 0.187 336.4)
XYZxyz(14.8689, 7.5583, 19.0844)
Luminance0.0756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E117A #118E25
analogous
#63118E #8E117A #8E113B
triadic
#8E117A #7A8E11 #117A8E
tetradic
#8E117A #8E6311 #118E25 #113B8E
square
#8E117A #8E6311 #118E25 #113B8E
split-complementary
#8E117A #3B8E11 #118E63
monochromatic
#21041C #570A4B #8E117A #C518A9 #E733CA

Accessibility & contrast

On white

8.36
#8E117A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E117A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E117A
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E117A#FFFFFF#000000##FFFFFF
##8E117A1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427D
Deuteranopia (green-blind)
#455477
Tritanopia (blue-blind)
#961E48
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e117a;
/* rgb */ color: rgb(142, 17, 122);
/* oklch */ color: oklch(44.8% 0.187 336.4);
Tailwind
colors: {
  custom: {
    50: '#b363a1',
    500: '#8e117a',
    950: '#000000',
  },
}
SCSS
$custom: #8e117a;
$custom-light: #b363a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e117a",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 122
  },
  "hsl": {
    "h": 309.6,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44778,
    "c": 0.18651,
    "h": 336.4
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#8E117A
secondary
#38C24E
accent
#F55233
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8E117A

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

Preview Lab → · Contrast checker → · Palette generator →

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