#8E429D#8E429D

#8E429D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.157 H 320.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8E429D
RGBrgb(142, 66, 157)
HSLhsl(290, 41%, 44%)
HSVhsv(290, 58%, 62%)
CMYKcmyk(9.6%, 58%, 0%, 38.4%)
CIE-LABlab(41.35, 46.13, -35.76)
CIE-LCHlch(41.35, 58.37, 322.22°)
OKLaboklab(51.39% 0.1218 -0.0994)
OKLCHoklch(51.39% 0.157 320.8)
XYZxyz(19.1886, 12.0824, 33.2131)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E429D #519D42
analogous
#60429D #8E429D #9D427E
triadic
#8E429D #9D8E42 #429D8E
tetradic
#8E429D #9D6042 #519D42 #427E9D
square
#8E429D #9D6042 #519D42 #427E9D
split-complementary
#8E429D #7E9D42 #429D60
monochromatic
#401E47 #673072 #8E429D #AD60BC #C38BCE

Accessibility & contrast

On white

6.15
#8E429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8E429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E429D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E429D#FFFFFF#000000##FFFFFF
##8E429D1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305CA0
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#8F5069
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e429d;
/* rgb */ color: rgb(142, 66, 157);
/* oklch */ color: oklch(51.4% 0.157 320.8);
Tailwind
colors: {
  custom: {
    50: '#b17aba',
    500: '#8e429d',
    950: '#000000',
  },
}
SCSS
$custom: #8e429d;
$custom-light: #b17aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e429d",
  "rgb": {
    "r": 142,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 290.11,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.15716,
    "h": 320.8
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#8E429D
secondary
#8BB982
accent
#D1576B
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8E429D

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

Preview Lab → · Contrast checker → · Palette generator →

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