#8E1687#8E1687

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

Color values

HEX#8E1687
RGBrgb(142, 22, 135)
HSLhsl(304, 73%, 32%)
HSVhsv(304, 85%, 56%)
CMYKcmyk(0%, 84.5%, 4.9%, 44.3%)
CIE-LABlab(34.14, 58.89, -33.76)
CIE-LCHlch(34.14, 67.89, 330.17°)
OKLaboklab(45.79% 0.1679 -0.0933)
OKLCHoklch(45.79% 0.192 330.9)
XYZxyz(15.8154, 8.0752, 23.6427)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1687 #168E1D
analogous
#59168E #8E1687 #8E164B
triadic
#8E1687 #878E16 #16878E
tetradic
#8E1687 #8E5916 #168E1D #164B8E
square
#8E1687 #8E5916 #168E1D #164B8E
split-complementary
#8E1687 #4B8E16 #168E59
monochromatic
#240622 #590E55 #8E1687 #C31EB9 #E13DD7

Accessibility & contrast

On white

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

On black

2.61
#8E1687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E1687#FFFFFF#000000##FFFFFF
##8E16871.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#942950
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1687;
/* rgb */ color: rgb(142, 22, 135);
/* oklch */ color: oklch(45.8% 0.192 330.9);
Tailwind
colors: {
  custom: {
    50: '#b365aa',
    500: '#8e1687',
    950: '#000000',
  },
}
SCSS
$custom: #8e1687;
$custom-light: #b365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1687",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 303.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.19207,
    "h": 330.9
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8E1687
secondary
#3FC146
accent
#F04338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1687

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

Preview Lab → · Contrast checker → · Palette generator →

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