#8E409D#8E409D

#8E409D is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.1% C 0.160 H 320.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8E409D
RGBrgb(142, 64, 157)
HSLhsl(290, 42%, 43%)
HSVhsv(290, 59%, 62%)
CMYKcmyk(9.6%, 59.2%, 0%, 38.4%)
CIE-LABlab(40.98, 47.12, -36.34)
CIE-LCHlch(40.98, 59.51, 322.36°)
OKLaboklab(51.12% 0.1244 -0.101)
OKLCHoklch(51.12% 0.16 320.9)
XYZxyz(19.0738, 11.8528, 33.1749)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E409D #4F9D40
analogous
#60409D #8E409D #9D407D
triadic
#8E409D #9D8E40 #409D8E
tetradic
#8E409D #9D6040 #4F9D40 #407D9D
square
#8E409D #9D6040 #4F9D40 #407D9D
split-complementary
#8E409D #7D9D40 #409D60
monochromatic
#3F1D46 #672E72 #8E409D #AE5DBD #C389CF

Accessibility & contrast

On white

6.23
#8E409D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8E409D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E409D
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E409D#FFFFFF#000000##FFFFFF
##8E409D1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5BA0
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#8F4E68
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e409d;
/* rgb */ color: rgb(142, 64, 157);
/* oklch */ color: oklch(51.1% 0.160 320.9);
Tailwind
colors: {
  custom: {
    50: '#b279ba',
    500: '#8e409d',
    950: '#000000',
  },
}
SCSS
$custom: #8e409d;
$custom-light: #b279ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e409d",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 290.323,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.16029,
    "h": 320.9
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#8E409D
secondary
#89B97F
accent
#D2566A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8E409D

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

Preview Lab → · Contrast checker → · Palette generator →

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