#8E1880#8E1880

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

Color values

HEX#8E1880
RGBrgb(142, 24, 128)
HSLhsl(307, 71%, 33%)
HSVhsv(307, 83%, 56%)
CMYKcmyk(0%, 83.1%, 9.9%, 44.3%)
CIE-LABlab(33.91, 57.33, -29.77)
CIE-LCHlch(33.91, 64.60, 332.56°)
OKLaboklab(45.5% 0.1665 -0.0817)
OKLCHoklch(45.5% 0.185 333.9)
XYZxyz(15.3784, 7.9640, 21.1452)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1880 #188E26
analogous
#61188E #8E1880 #8E1845
triadic
#8E1880 #808E18 #18808E
tetradic
#8E1880 #8E6118 #188E26 #18458E
square
#8E1880 #8E6118 #188E26 #18458E
split-complementary
#8E1880 #458E18 #188E61
monochromatic
#250622 #5A0F51 #8E1880 #C221AF #DF41CC

Accessibility & contrast

On white

8.10
#8E1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1880
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1880#FFFFFF#000000##FFFFFF
##8E18801.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134583
Deuteranopia (green-blind)
#44567D
Tritanopia (blue-blind)
#95264C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1880;
/* rgb */ color: rgb(142, 24, 128);
/* oklch */ color: oklch(45.5% 0.185 333.9);
Tailwind
colors: {
  custom: {
    50: '#b366a5',
    500: '#8e1880',
    950: '#000000',
  },
}
SCSS
$custom: #8e1880;
$custom-light: #b366a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1880",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 307.119,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.18545,
    "h": 333.9
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#8E1880
secondary
#42C051
accent
#EE4F3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1880

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

Preview Lab → · Contrast checker → · Palette generator →

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