#8E1E9E#8E1E9E

#8E1E9E is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.8% C 0.203 H 322.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8E1E9E
RGBrgb(142, 30, 158)
HSLhsl(293, 68%, 37%)
HSVhsv(293, 81%, 62%)
CMYKcmyk(10.1%, 81%, 0%, 38%)
CIE-LABlab(36.27, 60.71, -44.45)
CIE-LCHlch(36.27, 75.25, 323.79°)
OKLaboklab(47.76% 0.1605 -0.1245)
OKLCHoklch(47.76% 0.203 322.2)
XYZxyz(17.7905, 9.1490, 33.1700)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E9E #2E9E1E
analogous
#4E1E9E #8E1E9E #9E1E6E
triadic
#8E1E9E #9E8E1E #1E9E8E
tetradic
#8E1E9E #9E4E1E #2E9E1E #1E6E9E
square
#8E1E9E #9E4E1E #2E9E1E #1E6E9E
split-complementary
#8E1E9E #6E9E1E #1E9E4E
monochromatic
#320A37 #60146B #8E1E9E #BC28D1 #CE57DF

Accessibility & contrast

On white

7.42
#8E1E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E1E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E9E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E9E#FFFFFF#000000##FFFFFF
##8E1E9E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#90395F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1e9e;
/* rgb */ color: rgb(142, 30, 158);
/* oklch */ color: oklch(47.8% 0.203 322.2);
Tailwind
colors: {
  custom: {
    50: '#b369bb',
    500: '#8e1e9e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e9e;
$custom-light: #b369bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e9e",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 158
  },
  "hsl": {
    "h": 292.5,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47757,
    "c": 0.20315,
    "h": 322.2
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#8E1E9E
secondary
#63C355
accent
#EB3D53
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8E1E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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