#8E1583#8E1583

#8E1583 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.190 H 332.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E1583
RGBrgb(142, 21, 131)
HSLhsl(305, 74%, 32%)
HSVhsv(305, 85%, 56%)
CMYKcmyk(0%, 85.2%, 7.7%, 44.3%)
CIE-LABlab(33.83, 58.50, -31.77)
CIE-LCHlch(33.83, 66.57, 331.50°)
OKLaboklab(45.5% 0.1686 -0.0875)
OKLCHoklch(45.5% 0.19 332.6)
XYZxyz(15.5203, 7.9272, 22.1810)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1583 #158E20
analogous
#5D158E #8E1583 #8E1546
triadic
#8E1583 #838E15 #15838E
tetradic
#8E1583 #8E5D15 #158E20 #15468E
square
#8E1583 #8E5D15 #158E20 #15468E
split-complementary
#8E1583 #468E15 #158E5D
monochromatic
#230521 #590D52 #8E1583 #C31DB4 #E23BD3

Accessibility & contrast

On white

8.12
#8E1583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1583
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1583#FFFFFF#000000##FFFFFF
##8E15831.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094586
Deuteranopia (green-blind)
#425580
Tritanopia (blue-blind)
#95264E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1583;
/* rgb */ color: rgb(142, 21, 131);
/* oklch */ color: oklch(45.5% 0.190 332.6);
Tailwind
colors: {
  custom: {
    50: '#b365a7',
    500: '#8e1583',
    950: '#000000',
  },
}
SCSS
$custom: #8e1583;
$custom-light: #b365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1583",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 305.455,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45498,
    "c": 0.18994,
    "h": 332.6
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#8E1583
secondary
#3DC249
accent
#F14837
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1583

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

Preview Lab → · Contrast checker → · Palette generator →

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