#8E1F86#8E1F86

#8E1F86 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.183 H 331.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1F86
RGBrgb(142, 31, 134)
HSLhsl(304, 64%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 78.2%, 5.6%, 44.3%)
CIE-LABlab(34.91, 56.34, -31.92)
CIE-LCHlch(34.91, 64.76, 330.46°)
OKLaboklab(46.32% 0.161 -0.088)
OKLCHoklch(46.32% 0.183 331.3)
XYZxyz(15.9484, 8.4533, 23.3413)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F86 #1F8E27
analogous
#5F1F8E #8E1F86 #8E1F4F
triadic
#8E1F86 #868E1F #1F868E
tetradic
#8E1F86 #8E5F1F #1F8E27 #1F4F8E
square
#8E1F86 #8E5F1F #1F8E27 #1F4F8E
split-complementary
#8E1F86 #4F8E1F #1F8E5F
monochromatic
#2A0927 #5C1457 #8E1F86 #C02AB5 #D94FCF

Accessibility & contrast

On white

7.81
#8E1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F86
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F86#FFFFFF#000000##FFFFFF
##8E1F861.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#942D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e1f86;
/* rgb */ color: rgb(142, 31, 134);
/* oklch */ color: oklch(46.3% 0.183 331.3);
Tailwind
colors: {
  custom: {
    50: '#b368a9',
    500: '#8e1f86',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f86;
$custom-light: #b368a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f86",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 304.324,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46322,
    "c": 0.18345,
    "h": 331.3
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#8E1F86
secondary
#4DBB55
accent
#E74D41
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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