#8D428F#8D428F

#8D428F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.5% C 0.143 H 326.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D428F
RGBrgb(141, 66, 143)
HSLhsl(298, 37%, 41%)
HSVhsv(298, 54%, 56%)
CMYKcmyk(1.4%, 53.8%, 0%, 43.9%)
CIE-LABlab(40.48, 43.10, -28.68)
CIE-LCHlch(40.48, 51.77, 326.35°)
OKLaboklab(50.49% 0.119 -0.079)
OKLCHoklch(50.49% 0.143 326.4)
XYZxyz(17.8903, 11.5433, 27.2670)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D428F #448F42
analogous
#66428F #8D428F #8F426A
triadic
#8D428F #8F8D42 #428F8D
tetradic
#8D428F #8F6642 #448F42 #426A8F
square
#8D428F #8F6642 #448F42 #426A8F
split-complementary
#8D428F #6A8F42 #428F66
monochromatic
#3A1B3B #642F65 #8D428F #B15BB3 #C585C7

Accessibility & contrast

On white

6.35
#8D428F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8D428F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D428F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D428F#FFFFFF#000000##FFFFFF
##8D428F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d428f;
/* rgb */ color: rgb(141, 66, 143);
/* oklch */ color: oklch(50.5% 0.143 326.4);
Tailwind
colors: {
  custom: {
    50: '#b07ab0',
    500: '#8d428f',
    950: '#000000',
  },
}
SCSS
$custom: #8d428f;
$custom-light: #b07ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d428f",
  "rgb": {
    "r": 141,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 298.442,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50488,
    "c": 0.14284,
    "h": 326.4
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#8D428F
secondary
#7DB17B
accent
#CD5B5E
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D428F

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

Preview Lab → · Contrast checker → · Palette generator →

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