#8D428E#8D428E

#8D428E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.4% C 0.142 H 326.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8D428E
RGBrgb(141, 66, 142)
HSLhsl(299, 37%, 41%)
HSVhsv(299, 54%, 56%)
CMYKcmyk(0.7%, 53.5%, 0%, 44.3%)
CIE-LABlab(40.43, 42.90, -28.15)
CIE-LCHlch(40.43, 51.32, 326.73°)
OKLaboklab(50.44% 0.1189 -0.0774)
OKLCHoklch(50.44% 0.142 326.9)
XYZxyz(17.8149, 11.5131, 26.8698)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D428E #438E42
analogous
#67428E #8D428E #8E4269
triadic
#8D428E #8E8D42 #428E8D
tetradic
#8D428E #8E6742 #438E42 #42698E
square
#8D428E #8E6742 #438E42 #42698E
split-complementary
#8D428E #698E42 #428E67
monochromatic
#3A1B3A #642F64 #8D428E #B15BB3 #C584C6

Accessibility & contrast

On white

6.36
#8D428E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8D428E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D428E
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D428E#FFFFFF#000000##FFFFFF
##8D428E1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#914B62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d428e;
/* rgb */ color: rgb(141, 66, 142);
/* oklch */ color: oklch(50.4% 0.142 326.9);
Tailwind
colors: {
  custom: {
    50: '#b07aaf',
    500: '#8d428e',
    950: '#000000',
  },
}
SCSS
$custom: #8d428e;
$custom-light: #b07aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d428e",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 299.211,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.14188,
    "h": 326.9
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#8D428E
secondary
#7CB17B
accent
#CD5B5D
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D428E

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

Preview Lab → · Contrast checker → · Palette generator →

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