#8E4086#8E4086

#8E4086 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.9% C 0.139 H 331.5°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#8E4086
RGBrgb(142, 64, 134)
HSLhsl(306, 38%, 40%)
HSVhsv(306, 55%, 56%)
CMYKcmyk(0%, 54.9%, 5.6%, 44.3%)
CIE-LABlab(39.82, 42.73, -24.23)
CIE-LCHlch(39.82, 49.12, 330.45°)
OKLaboklab(49.89% 0.1217 -0.0661)
OKLCHoklch(49.89% 0.139 331.5)
XYZxyz(17.2917, 11.1399, 23.7891)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4086 #408E48
analogous
#6F408E #8E4086 #8E405F
triadic
#8E4086 #868E40 #40868E
tetradic
#8E4086 #8E6F40 #408E48 #405F8E
square
#8E4086 #8E6F40 #408E48 #405F8E
split-complementary
#8E4086 #5F8E40 #408E6F
monochromatic
#3A1A36 #642D5E #8E4086 #B458AA #C782C0

Accessibility & contrast

On white

6.51
#8E4086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8E4086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4086
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4086#FFFFFF#000000##FFFFFF
##8E40861.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#93465D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e4086;
/* rgb */ color: rgb(142, 64, 134);
/* oklch */ color: oklch(49.9% 0.139 331.5);
Tailwind
colors: {
  custom: {
    50: '#b179a9',
    500: '#8e4086',
    950: '#000000',
  },
}
SCSS
$custom: #8e4086;
$custom-light: #b179a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4086",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 306.154,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.1385,
    "h": 331.5
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#8E4086
secondary
#79B17F
accent
#CE665A
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8E4086

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

Preview Lab → · Contrast checker → · Palette generator →

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