#8E1B86#8E1B86

#8E1B86 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.187 H 331.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8E1B86
RGBrgb(142, 27, 134)
HSLhsl(304, 68%, 33%)
HSVhsv(304, 81%, 56%)
CMYKcmyk(0%, 81%, 5.6%, 44.3%)
CIE-LABlab(34.51, 57.49, -32.55)
CIE-LCHlch(34.51, 66.06, 330.48°)
OKLaboklab(46.04% 0.1643 -0.0898)
OKLCHoklch(46.04% 0.187 331.3)
XYZxyz(15.8503, 8.2572, 23.3086)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B86 #1B8E23
analogous
#5C1B8E #8E1B86 #8E1B4C
triadic
#8E1B86 #868E1B #1B868E
tetradic
#8E1B86 #8E5C1B #1B8E23 #1B4C8E
square
#8E1B86 #8E5C1B #1B8E23 #1B4C8E
split-complementary
#8E1B86 #4C8E1B #1B8E5C
monochromatic
#270725 #5B1155 #8E1B86 #C125B7 #DC47D2

Accessibility & contrast

On white

7.92
#8E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B86
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B86#FFFFFF#000000##FFFFFF
##8E1B861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4789
Deuteranopia (green-blind)
#425783
Tritanopia (blue-blind)
#942B51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1b86;
/* rgb */ color: rgb(142, 27, 134);
/* oklch */ color: oklch(46.0% 0.187 331.3);
Tailwind
colors: {
  custom: {
    50: '#b367a9',
    500: '#8e1b86',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b86;
$custom-light: #b367a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b86",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 304.174,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.18721,
    "h": 331.3
  },
  "luminance": 0.08256
}

Semantic roles & 50–950 ramp

primary
#8E1B86
secondary
#47BE4F
accent
#EB493D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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