#8E1E8A#8E1E8A

#8E1E8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.187 H 329.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#8E1E8A
RGBrgb(142, 30, 138)
HSLhsl(302, 65%, 34%)
HSVhsv(302, 79%, 56%)
CMYKcmyk(0%, 78.9%, 2.8%, 44.3%)
CIE-LABlab(35.03, 57.29, -34.20)
CIE-LCHlch(35.03, 66.72, 329.16°)
OKLaboklab(46.48% 0.1618 -0.0946)
OKLCHoklch(46.48% 0.187 329.7)
XYZxyz(16.2070, 8.5156, 24.8299)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E8A #1E8E22
analogous
#5A1E8E #8E1E8A #8E1E52
triadic
#8E1E8A #8A8E1E #1E8A8E
tetradic
#8E1E8A #8E5A1E #1E8E22 #1E528E
square
#8E1E8A #8E5A1E #1E8E22 #1E528E
split-complementary
#8E1E8A #528E1E #1E8E5A
monochromatic
#290928 #5B1359 #8E1E8A #C129BB #D94DD4

Accessibility & contrast

On white

7.77
#8E1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E1E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E8A
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E8A#FFFFFF#000000##FFFFFF
##8E1E8A1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09498D
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#932F53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1e8a;
/* rgb */ color: rgb(142, 30, 138);
/* oklch */ color: oklch(46.5% 0.187 329.7);
Tailwind
colors: {
  custom: {
    50: '#b368ac',
    500: '#8e1e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e8a;
$custom-light: #b368ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e8a",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 302.143,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46484,
    "c": 0.18745,
    "h": 329.7
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#8E1E8A
secondary
#4CBC50
accent
#E84640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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