#8E1E8E#8E1E8E

#8E1E8E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.191 H 328.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8E1E8E
RGBrgb(142, 30, 142)
HSLhsl(300, 65%, 34%)
HSVhsv(300, 79%, 56%)
CMYKcmyk(0%, 78.9%, 0%, 44.3%)
CIE-LABlab(35.27, 57.95, -36.29)
CIE-LCHlch(35.27, 68.37, 327.94°)
OKLaboklab(46.73% 0.1618 -0.1007)
OKLCHoklch(46.73% 0.191 328.1)
XYZxyz(16.5019, 8.6336, 26.3832)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E8E #1E8E1E
analogous
#561E8E #8E1E8E #8E1E56
triadic
#8E1E8E #8E8E1E #1E8E8E
tetradic
#8E1E8E #8E561E #1E8E1E #1E568E
square
#8E1E8E #8E561E #1E8E1E #1E568E
split-complementary
#8E1E8E #568E1E #1E8E56
monochromatic
#290929 #5B135B #8E1E8E #C129C1 #D94DD9

Accessibility & contrast

On white

7.70
#8E1E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8E1E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E8E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E8E#FFFFFF#000000##FFFFFF
##8E1E8E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#933156
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e1e8e;
/* rgb */ color: rgb(142, 30, 142);
/* oklch */ color: oklch(46.7% 0.191 328.1);
Tailwind
colors: {
  custom: {
    50: '#b368af',
    500: '#8e1e8e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e8e;
$custom-light: #b368af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e8e",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.19052,
    "h": 328.1
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#8E1E8E
secondary
#4CBC4C
accent
#E84040
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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