#8E409C#8E409C

#8E409C is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.1% C 0.159 H 321.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8E409C
RGBrgb(142, 64, 156)
HSLhsl(291, 42%, 43%)
HSVhsv(291, 59%, 61%)
CMYKcmyk(9%, 59%, 0%, 38.8%)
CIE-LABlab(40.93, 46.92, -35.82)
CIE-LCHlch(40.93, 59.03, 322.64°)
OKLaboklab(51.06% 0.1244 -0.0995)
OKLCHoklch(51.06% 0.159 321.3)
XYZxyz(18.9888, 11.8188, 32.7271)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E409C #4E9C40
analogous
#60409C #8E409C #9C407C
triadic
#8E409C #9C8E40 #409C8E
tetradic
#8E409C #9C6040 #4E9C40 #407C9C
square
#8E409C #9C6040 #4E9C40 #407C9C
split-complementary
#8E409C #7C9C40 #409C60
monochromatic
#3F1C45 #662E71 #8E409C #AE5DBC #C488CE

Accessibility & contrast

On white

6.24
#8E409C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8E409C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E409C
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E409C#FFFFFF#000000##FFFFFF
##8E409C1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#4A639A
Tritanopia (blue-blind)
#8F4E68
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e409c;
/* rgb */ color: rgb(142, 64, 156);
/* oklch */ color: oklch(51.1% 0.159 321.3);
Tailwind
colors: {
  custom: {
    50: '#b179b9',
    500: '#8e409c',
    950: '#000000',
  },
}
SCSS
$custom: #8e409c;
$custom-light: #b179b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e409c",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 290.87,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.1593,
    "h": 321.3
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#8E409C
secondary
#88B97F
accent
#D25669
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8E409C

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

Preview Lab → · Contrast checker → · Palette generator →

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