#8E1681#8E1681

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

Color values

HEX#8E1681
RGBrgb(142, 22, 129)
HSLhsl(307, 73%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 84.5%, 9.2%, 44.3%)
CIE-LABlab(33.80, 57.97, -30.57)
CIE-LCHlch(33.80, 65.54, 332.19°)
OKLaboklab(45.44% 0.1679 -0.084)
OKLCHoklch(45.44% 0.188 333.4)
XYZxyz(15.4048, 7.9110, 21.4803)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1681 #168E23
analogous
#5F168E #8E1681 #8E1645
triadic
#8E1681 #818E16 #16818E
tetradic
#8E1681 #8E5F16 #168E23 #16458E
square
#8E1681 #8E5F16 #168E23 #16458E
split-complementary
#8E1681 #458E16 #168E5F
monochromatic
#240621 #590E51 #8E1681 #C31EB1 #E13DCF

Accessibility & contrast

On white

8.13
#8E1681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1681
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1681#FFFFFF#000000##FFFFFF
##8E16811.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4584
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#95254D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1681;
/* rgb */ color: rgb(142, 22, 129);
/* oklch */ color: oklch(45.4% 0.188 333.4);
Tailwind
colors: {
  custom: {
    50: '#b365a6',
    500: '#8e1681',
    950: '#000000',
  },
}
SCSS
$custom: #8e1681;
$custom-light: #b365a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1681",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 306.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.18776,
    "h": 333.4
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#8E1681
secondary
#3FC14D
accent
#F04C38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1681

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

Preview Lab → · Contrast checker → · Palette generator →

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