#8E429C#8E429C

#8E429C is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.3% C 0.156 H 321.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#8E429C
RGBrgb(142, 66, 156)
HSLhsl(291, 41%, 44%)
HSVhsv(291, 58%, 61%)
CMYKcmyk(9%, 57.7%, 0%, 38.8%)
CIE-LABlab(41.29, 45.93, -35.24)
CIE-LCHlch(41.29, 57.89, 322.50°)
OKLaboklab(51.33% 0.1217 -0.0979)
OKLCHoklch(51.33% 0.156 321.2)
XYZxyz(19.1036, 12.0484, 32.7653)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E429C #509C42
analogous
#61429C #8E429C #9C427D
triadic
#8E429C #9C8E42 #429C8E
tetradic
#8E429C #9C6142 #509C42 #427D9C
square
#8E429C #9C6142 #509C42 #427D9C
split-complementary
#8E429C #7D9C42 #429C61
monochromatic
#401E46 #673071 #8E429C #AD60BC #C38BCE

Accessibility & contrast

On white

6.16
#8E429C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8E429C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E429C
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E429C#FFFFFF#000000##FFFFFF
##8E429C1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315C9F
Deuteranopia (green-blind)
#4B649A
Tritanopia (blue-blind)
#8F4F69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e429c;
/* rgb */ color: rgb(142, 66, 156);
/* oklch */ color: oklch(51.3% 0.156 321.2);
Tailwind
colors: {
  custom: {
    50: '#b17ab9',
    500: '#8e429c',
    950: '#000000',
  },
}
SCSS
$custom: #8e429c;
$custom-light: #b17ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e429c",
  "rgb": {
    "r": 142,
    "g": 66,
    "b": 156
  },
  "hsl": {
    "h": 290.667,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51331,
    "c": 0.15616,
    "h": 321.2
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#8E429C
secondary
#8AB981
accent
#D0576A
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8E429C

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

Preview Lab → · Contrast checker → · Palette generator →

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