#8E117F#8E117F

#8E117F is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.190 H 334.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#8E117F
RGBrgb(142, 17, 127)
HSLhsl(307, 79%, 31%)
HSVhsv(307, 88%, 56%)
CMYKcmyk(0%, 88%, 10.6%, 44.3%)
CIE-LABlab(33.32, 58.74, -30.08)
CIE-LCHlch(33.32, 65.99, 332.89°)
OKLaboklab(45.06% 0.171 -0.0826)
OKLCHoklch(45.06% 0.19 334.2)
XYZxyz(15.1867, 7.6854, 20.7582)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E117F #118E20
analogous
#5E118E #8E117F #8E1140
triadic
#8E117F #7F8E11 #117F8E
tetradic
#8E117F #8E5E11 #118E20 #11408E
square
#8E117F #8E5E11 #118E20 #11408E
split-complementary
#8E117F #408E11 #118E5E
monochromatic
#21041D #570A4E #8E117F #C518B0 #E733D1

Accessibility & contrast

On white

8.28
#8E117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E117F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E117F#FFFFFF#000000##FFFFFF
##8E117F1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4382
Deuteranopia (green-blind)
#43547C
Tritanopia (blue-blind)
#95214B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e117f;
/* rgb */ color: rgb(142, 17, 127);
/* oklch */ color: oklch(45.1% 0.190 334.2);
Tailwind
colors: {
  custom: {
    50: '#b364a4',
    500: '#8e117f',
    950: '#000000',
  },
}
SCSS
$custom: #8e117f;
$custom-light: #b364a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e117f",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 307.2,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.45061,
    "c": 0.18991,
    "h": 334.2
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#8E117F
secondary
#38C249
accent
#F54A33
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E117F

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

Preview Lab → · Contrast checker → · Palette generator →

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