#8E1A84#8E1A84

#8E1A84 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 332.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E1A84
RGBrgb(142, 26, 132)
HSLhsl(305, 69%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 81.7%, 7%, 44.3%)
CIE-LABlab(34.31, 57.44, -31.63)
CIE-LCHlch(34.31, 65.57, 331.16°)
OKLaboklab(45.86% 0.1651 -0.0871)
OKLCHoklch(45.86% 0.187 332.2)
XYZxyz(15.6896, 8.1569, 22.5734)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A84 #1A8E24
analogous
#5E1A8E #8E1A84 #8E1A4A
triadic
#8E1A84 #848E1A #1A848E
tetradic
#8E1A84 #8E5E1A #1A8E24 #1A4A8E
square
#8E1A84 #8E5E1A #1A8E24 #1A4A8E
split-complementary
#8E1A84 #4A8E1A #1A8E5E
monochromatic
#270724 #5A1154 #8E1A84 #C223B4 #DD45D0

Accessibility & contrast

On white

7.98
#8E1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A84
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A84#FFFFFF#000000##FFFFFF
##8E1A841.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4687
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#94294F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1a84;
/* rgb */ color: rgb(142, 26, 132);
/* oklch */ color: oklch(45.9% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#b366a8',
    500: '#8e1a84',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a84;
$custom-light: #b366a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a84",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 305.172,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.18663,
    "h": 332.2
  },
  "luminance": 0.08156
}

Semantic roles & 50–950 ramp

primary
#8E1A84
secondary
#45BE50
accent
#EC4B3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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