#8E1680#8E1680

#8E1680 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 333.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8E1680
RGBrgb(142, 22, 128)
HSLhsl(307, 73%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 84.5%, 9.9%, 44.3%)
CIE-LABlab(33.74, 57.82, -30.03)
CIE-LCHlch(33.74, 65.15, 332.55°)
OKLaboklab(45.38% 0.1679 -0.0825)
OKLCHoklch(45.38% 0.187 333.8)
XYZxyz(15.3387, 7.8845, 21.1319)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1680 #168E24
analogous
#60168E #8E1680 #8E1644
triadic
#8E1680 #808E16 #16808E
tetradic
#8E1680 #8E6016 #168E24 #16448E
square
#8E1680 #8E6016 #168E24 #16448E
split-complementary
#8E1680 #448E16 #168E60
monochromatic
#240620 #590E50 #8E1680 #C31EB0 #E13DCE

Accessibility & contrast

On white

8.15
#8E1680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1680
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1680#FFFFFF#000000##FFFFFF
##8E16801.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#44557D
Tritanopia (blue-blind)
#95254C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1680;
/* rgb */ color: rgb(142, 22, 128);
/* oklch */ color: oklch(45.4% 0.187 333.8);
Tailwind
colors: {
  custom: {
    50: '#b365a5',
    500: '#8e1680',
    950: '#000000',
  },
}
SCSS
$custom: #8e1680;
$custom-light: #b365a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1680",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 307,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45379,
    "c": 0.18705,
    "h": 333.8
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#8E1680
secondary
#3FC14E
accent
#F04D38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1680

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

Preview Lab → · Contrast checker → · Palette generator →

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