#8E1580#8E1580

#8E1580 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.188 H 333.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8E1580
RGBrgb(142, 21, 128)
HSLhsl(307, 74%, 32%)
HSVhsv(307, 85%, 56%)
CMYKcmyk(0%, 85.2%, 9.9%, 44.3%)
CIE-LABlab(33.66, 58.05, -30.16)
CIE-LCHlch(33.66, 65.41, 332.55°)
OKLaboklab(45.32% 0.1686 -0.0828)
OKLCHoklch(45.32% 0.188 333.8)
XYZxyz(15.3199, 7.8470, 21.1257)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1580 #158E23
analogous
#60158E #8E1580 #8E1544
triadic
#8E1580 #808E15 #15808E
tetradic
#8E1580 #8E6015 #158E23 #15448E
square
#8E1580 #8E6015 #158E23 #15448E
split-complementary
#8E1580 #448E15 #158E60
monochromatic
#230520 #590D50 #8E1580 #C31DB0 #E23BCF

Accessibility & contrast

On white

8.17
#8E1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1580
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1580#FFFFFF#000000##FFFFFF
##8E15801.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#43557D
Tritanopia (blue-blind)
#95244C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1580;
/* rgb */ color: rgb(142, 21, 128);
/* oklch */ color: oklch(45.3% 0.188 333.8);
Tailwind
colors: {
  custom: {
    50: '#b365a5',
    500: '#8e1580',
    950: '#000000',
  },
}
SCSS
$custom: #8e1580;
$custom-light: #b365a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1580",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 306.942,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.18782,
    "h": 333.8
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#8E1580
secondary
#3DC24D
accent
#F14C37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1580

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

Preview Lab → · Contrast checker → · Palette generator →

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