#8E389E#8E389E

#8E389E is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.2% C 0.173 H 321.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8E389E
RGBrgb(142, 56, 158)
HSLhsl(291, 48%, 42%)
HSVhsv(291, 65%, 62%)
CMYKcmyk(10.1%, 64.6%, 0%, 38%)
CIE-LABlab(39.66, 51.09, -39.03)
CIE-LCHlch(39.66, 64.29, 322.62°)
OKLaboklab(50.18% 0.1346 -0.1088)
OKLCHoklch(50.18% 0.173 321)
XYZxyz(18.7404, 11.0487, 33.4866)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E389E #489E38
analogous
#5B389E #8E389E #9E387B
triadic
#8E389E #9E8E38 #389E8E
tetradic
#8E389E #9E5B38 #489E38 #387B9E
square
#8E389E #9E5B38 #489E38 #387B9E
split-complementary
#8E389E #7B9E38 #389E5B
monochromatic
#3D1844 #652871 #8E389E #B052C2 #C57FD2

Accessibility & contrast

On white

6.54
#8E389E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8E389E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E389E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E389E#FFFFFF#000000##FFFFFF
##8E389E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E57A1
Deuteranopia (green-blind)
#43619B
Tritanopia (blue-blind)
#8F4966
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8e389e;
/* rgb */ color: rgb(142, 56, 158);
/* oklch */ color: oklch(50.2% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#b275bb',
    500: '#8e389e',
    950: '#000000',
  },
}
SCSS
$custom: #8e389e;
$custom-light: #b275bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e389e",
  "rgb": {
    "r": 142,
    "g": 56,
    "b": 158
  },
  "hsl": {
    "h": 290.588,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.17312,
    "h": 321
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#8E389E
secondary
#82BB77
accent
#D75166
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8E389E

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

Preview Lab → · Contrast checker → · Palette generator →

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