#8E1582#8E1582

#8E1582 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 333.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8E1582
RGBrgb(142, 21, 130)
HSLhsl(306, 74%, 32%)
HSVhsv(306, 85%, 56%)
CMYKcmyk(0%, 85.2%, 8.5%, 44.3%)
CIE-LABlab(33.77, 58.35, -31.23)
CIE-LCHlch(33.77, 66.18, 331.84°)
OKLaboklab(45.44% 0.1686 -0.0859)
OKLCHoklch(45.44% 0.189 333)
XYZxyz(15.4529, 7.9002, 21.8258)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1582 #158E21
analogous
#5D158E #8E1582 #8E1546
triadic
#8E1582 #828E15 #15828E
tetradic
#8E1582 #8E5D15 #158E21 #15468E
square
#8E1582 #8E5D15 #158E21 #15468E
split-complementary
#8E1582 #468E15 #158E5D
monochromatic
#230520 #590D51 #8E1582 #C31DB3 #E23BD2

Accessibility & contrast

On white

8.14
#8E1582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1582
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1582#FFFFFF#000000##FFFFFF
##8E15821.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#95254D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1582;
/* rgb */ color: rgb(142, 21, 130);
/* oklch */ color: oklch(45.4% 0.189 333.0);
Tailwind
colors: {
  custom: {
    50: '#b365a7',
    500: '#8e1582',
    950: '#000000',
  },
}
SCSS
$custom: #8e1582;
$custom-light: #b365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1582",
  "rgb": {
    "r": 142,
    "g": 21,
    "b": 130
  },
  "hsl": {
    "h": 305.95,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.18923,
    "h": 333
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#8E1582
secondary
#3DC24A
accent
#F14937
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1582

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

Preview Lab → · Contrast checker → · Palette generator →

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