#8D418D#8D418D

#8D418D is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.2% C 0.143 H 327.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D418D
RGBrgb(141, 65, 141)
HSLhsl(300, 37%, 40%)
HSVhsv(300, 54%, 55%)
CMYKcmyk(0%, 53.9%, 0%, 44.7%)
CIE-LABlab(40.19, 43.22, -27.92)
CIE-LCHlch(40.19, 51.46, 327.14°)
OKLaboklab(50.24% 0.1202 -0.0767)
OKLCHoklch(50.24% 0.143 327.4)
XYZxyz(17.6822, 11.3674, 26.4569)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D418D #418D41
analogous
#67418D #8D418D #8D4167
triadic
#8D418D #8D8D41 #418D8D
tetradic
#8D418D #8D6741 #418D41 #41678D
square
#8D418D #8D6741 #418D41 #41678D
split-complementary
#8D418D #678D41 #418D67
monochromatic
#391A39 #632E63 #8D418D #B259B2 #C683C6

Accessibility & contrast

On white

6.42
#8D418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D418D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D418D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D418D#FFFFFF#000000##FFFFFF
##8D418D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588F
Deuteranopia (green-blind)
#51628B
Tritanopia (blue-blind)
#914A61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d418d;
/* rgb */ color: rgb(141, 65, 141);
/* oklch */ color: oklch(50.2% 0.143 327.4);
Tailwind
colors: {
  custom: {
    50: '#b079ae',
    500: '#8d418d',
    950: '#000000',
  },
}
SCSS
$custom: #8d418d;
$custom-light: #b079ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d418d",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.14259,
    "h": 327.4
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#8D418D
secondary
#79B079
accent
#CD5B5B
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D418D

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

Preview Lab → · Contrast checker → · Palette generator →

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