#8E1684#8E1684

#8E1684 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 332.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8E1684
RGBrgb(142, 22, 132)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 84.5%, 7%, 44.3%)
CIE-LABlab(33.97, 58.43, -32.17)
CIE-LCHlch(33.97, 66.70, 331.16°)
OKLaboklab(45.61% 0.1679 -0.0887)
OKLCHoklch(45.61% 0.19 332.2)
XYZxyz(15.6072, 7.9919, 22.5459)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1684 #168E20
analogous
#5C168E #8E1684 #8E1648
triadic
#8E1684 #848E16 #16848E
tetradic
#8E1684 #8E5C16 #168E20 #16488E
square
#8E1684 #8E5C16 #168E20 #16488E
split-complementary
#8E1684 #488E16 #168E5C
monochromatic
#240621 #590E53 #8E1684 #C31EB5 #E13DD3

Accessibility & contrast

On white

8.08
#8E1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1684
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1684#FFFFFF#000000##FFFFFF
##8E16841.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084587
Deuteranopia (green-blind)
#415681
Tritanopia (blue-blind)
#94274E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1684;
/* rgb */ color: rgb(142, 22, 132);
/* oklch */ color: oklch(45.6% 0.190 332.2);
Tailwind
colors: {
  custom: {
    50: '#b365a8',
    500: '#8e1684',
    950: '#000000',
  },
}
SCSS
$custom: #8e1684;
$custom-light: #b365a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1684",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 305,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.1899,
    "h": 332.2
  },
  "luminance": 0.07991
}

Semantic roles & 50–950 ramp

primary
#8E1684
secondary
#3FC14A
accent
#F04738
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1684

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

Preview Lab → · Contrast checker → · Palette generator →

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