#8E1A80#8E1A80

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

Color values

HEX#8E1A80
RGBrgb(142, 26, 128)
HSLhsl(307, 69%, 33%)
HSVhsv(307, 82%, 56%)
CMYKcmyk(0%, 81.7%, 9.9%, 44.3%)
CIE-LABlab(34.09, 56.82, -29.49)
CIE-LCHlch(34.09, 64.02, 332.57°)
OKLaboklab(45.63% 0.165 -0.0809)
OKLCHoklch(45.63% 0.184 333.9)
XYZxyz(15.4212, 8.0495, 21.1594)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A80 #1A8E28
analogous
#621A8E #8E1A80 #8E1A46
triadic
#8E1A80 #808E1A #1A808E
tetradic
#8E1A80 #8E621A #1A8E28 #1A468E
square
#8E1A80 #8E621A #1A8E28 #1A468E
split-complementary
#8E1A80 #468E1A #1A8E62
monochromatic
#270723 #5A1151 #8E1A80 #C223AF #DD45CB

Accessibility & contrast

On white

8.05
#8E1A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1A80
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A80#FFFFFF#000000##FFFFFF
##8E1A801.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164683
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#95274D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1a80;
/* rgb */ color: rgb(142, 26, 128);
/* oklch */ color: oklch(45.6% 0.184 333.9);
Tailwind
colors: {
  custom: {
    50: '#b366a5',
    500: '#8e1a80',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a80;
$custom-light: #b366a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a80",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 307.241,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45625,
    "c": 0.18373,
    "h": 333.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#8E1A80
secondary
#45BE54
accent
#EC513C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1A80

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

Preview Lab → · Contrast checker → · Palette generator →

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