#8E1E85#8E1E85

#8E1E85 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.184 H 331.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1E85
RGBrgb(142, 30, 133)
HSLhsl(305, 65%, 34%)
HSVhsv(305, 79%, 56%)
CMYKcmyk(0%, 78.9%, 6.3%, 44.3%)
CIE-LABlab(34.75, 56.48, -31.55)
CIE-LCHlch(34.75, 64.70, 330.81°)
OKLaboklab(46.19% 0.1618 -0.0869)
OKLCHoklch(46.19% 0.184 331.8)
XYZxyz(15.8533, 8.3741, 22.9672)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E85 #1E8E27
analogous
#5F1E8E #8E1E85 #8E1E4D
triadic
#8E1E85 #858E1E #1E858E
tetradic
#8E1E85 #8E5F1E #1E8E27 #1E4D8E
square
#8E1E85 #8E5F1E #1E8E27 #1E4D8E
split-complementary
#8E1E85 #4D8E1E #1E8E5F
monochromatic
#290926 #5B1356 #8E1E85 #C129B4 #D94DCE

Accessibility & contrast

On white

7.85
#8E1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E85
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E85#FFFFFF#000000##FFFFFF
##8E1E851.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#942C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1e85;
/* rgb */ color: rgb(142, 30, 133);
/* oklch */ color: oklch(46.2% 0.184 331.8);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8e1e85',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e85;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e85",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 304.821,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.18369,
    "h": 331.8
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#8E1E85
secondary
#4CBC55
accent
#E84D40
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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