#8D429E#8D429E

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

Color values

HEX#8D429E
RGBrgb(141, 66, 158)
HSLhsl(289, 41%, 44%)
HSVhsv(289, 58%, 62%)
CMYKcmyk(10.8%, 58.2%, 0%, 38%)
CIE-LABlab(41.26, 46.07, -36.50)
CIE-LCHlch(41.26, 58.77, 321.61°)
OKLaboklab(51.31% 0.1206 -0.1016)
OKLCHoklch(51.31% 0.158 319.9)
XYZxyz(19.1035, 12.0286, 33.6566)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D429E #539E42
analogous
#5F429E #8D429E #9E4281
triadic
#8D429E #9E8D42 #429E8D
tetradic
#8D429E #9E5F42 #539E42 #42819E
square
#8D429E #9E5F42 #539E42 #42819E
split-complementary
#8D429E #819E42 #429E5F
monochromatic
#401E48 #663073 #8D429E #AC60BD #C28CCF

Accessibility & contrast

On white

6.17
#8D429E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D429E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D429E#FFFFFF#000000##FFFFFF
##8D429E1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5CA1
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#8E506A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d429e;
/* rgb */ color: rgb(141, 66, 158);
/* oklch */ color: oklch(51.3% 0.158 319.9);
Tailwind
colors: {
  custom: {
    50: '#b17abb',
    500: '#8d429e',
    950: '#000000',
  },
}
SCSS
$custom: #8d429e;
$custom-light: #b17abb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d429e",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 288.913,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51314,
    "c": 0.15767,
    "h": 319.9
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#8D429E
secondary
#8CBA82
accent
#D1576D
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8D429E

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

Preview Lab → · Contrast checker → · Palette generator →

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