#8E1688#8E1688

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

Color values

HEX#8E1688
RGBrgb(142, 22, 136)
HSLhsl(303, 73%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 84.5%, 4.2%, 44.3%)
CIE-LABlab(34.20, 59.05, -34.29)
CIE-LCHlch(34.20, 68.29, 329.86°)
OKLaboklab(45.85% 0.1679 -0.0948)
OKLCHoklch(45.85% 0.193 330.5)
XYZxyz(15.8861, 8.1035, 24.0152)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1688 #168E1C
analogous
#58168E #8E1688 #8E164C
triadic
#8E1688 #888E16 #16888E
tetradic
#8E1688 #8E5816 #168E1C #164C8E
square
#8E1688 #8E5816 #168E1C #164C8E
split-complementary
#8E1688 #4C8E16 #168E58
monochromatic
#240622 #590E55 #8E1688 #C31EBB #E13DD9

Accessibility & contrast

On white

8.01
#8E1688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1688
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1688#FFFFFF#000000##FFFFFF
##8E16881.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3F5685
Tritanopia (blue-blind)
#942951
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1688;
/* rgb */ color: rgb(142, 22, 136);
/* oklch */ color: oklch(45.9% 0.193 330.5);
Tailwind
colors: {
  custom: {
    50: '#b365ab',
    500: '#8e1688',
    950: '#000000',
  },
}
SCSS
$custom: #8e1688;
$custom-light: #b365ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1688",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 303,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.19279,
    "h": 330.5
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#8E1688
secondary
#3FC145
accent
#F04138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1688

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

Preview Lab → · Contrast checker → · Palette generator →

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