#8D418F#8D418F

#8D418F is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.3% C 0.144 H 326.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8D418F
RGBrgb(141, 65, 143)
HSLhsl(298, 38%, 41%)
HSVhsv(298, 55%, 56%)
CMYKcmyk(1.4%, 54.5%, 0%, 43.9%)
CIE-LABlab(40.29, 43.60, -28.98)
CIE-LCHlch(40.29, 52.35, 326.39°)
OKLaboklab(50.35% 0.1205 -0.0798)
OKLCHoklch(50.35% 0.144 326.5)
XYZxyz(17.8324, 11.4275, 27.2477)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D418F #438F41
analogous
#66418F #8D418F #8F416A
triadic
#8D418F #8F8D41 #418F8D
tetradic
#8D418F #8F6641 #438F41 #416A8F
square
#8D418F #8F6641 #438F41 #416A8F
split-complementary
#8D418F #6A8F41 #418F66
monochromatic
#3A1B3B #642E65 #8D418F #B159B4 #C584C7

Accessibility & contrast

On white

6.39
#8D418F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D418F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D418F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D418F#FFFFFF#000000##FFFFFF
##8D418F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#50628D
Tritanopia (blue-blind)
#914A62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d418f;
/* rgb */ color: rgb(141, 65, 143);
/* oklch */ color: oklch(50.3% 0.144 326.5);
Tailwind
colors: {
  custom: {
    50: '#b079b0',
    500: '#8d418f',
    950: '#000000',
  },
}
SCSS
$custom: #8d418f;
$custom-light: #b079b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d418f",
  "rgb": {
    "r": 141,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 298.462,
    "s": 37.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.14449,
    "h": 326.5
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#8D418F
secondary
#7CB17A
accent
#CD5A5D
background
#FBF7FA
surface
#F6EEF5
border
#D0C9CF
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D418F

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

Preview Lab → · Contrast checker → · Palette generator →

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