#8E418D#8E418D

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

Color values

HEX#8E418D
RGBrgb(142, 65, 141)
HSLhsl(301, 37%, 41%)
HSVhsv(301, 54%, 56%)
CMYKcmyk(0%, 54.2%, 0.7%, 44.3%)
CIE-LABlab(40.34, 43.52, -27.68)
CIE-LCHlch(40.34, 51.57, 327.54°)
OKLaboklab(50.38% 0.1214 -0.076)
OKLCHoklch(50.38% 0.143 327.9)
XYZxyz(17.8531, 11.4555, 26.4649)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E418D #418E42
analogous
#68418E #8E418D #8E4166
triadic
#8E418D #8D8E41 #418D8E
tetradic
#8E418D #8E6841 #418E42 #41668E
square
#8E418D #8E6841 #418E42 #41668E
split-complementary
#8E418D #668E41 #418E68
monochromatic
#3A1B3A #642E63 #8E418D #B359B2 #C683C5

Accessibility & contrast

On white

6.38
#8E418D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E418D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E418D#FFFFFF#000000##FFFFFF
##8E418D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A598F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#924961
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8e418d;
/* rgb */ color: rgb(142, 65, 141);
/* oklch */ color: oklch(50.4% 0.143 327.9);
Tailwind
colors: {
  custom: {
    50: '#b179ae',
    500: '#8e418d',
    950: '#000000',
  },
}
SCSS
$custom: #8e418d;
$custom-light: #b179ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e418d",
  "rgb": {
    "r": 142,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 300.779,
    "s": 37.198,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5038,
    "c": 0.14323,
    "h": 327.9
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#8E418D
secondary
#7AB17B
accent
#CD5C5B
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8E418D

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

Preview Lab → · Contrast checker → · Palette generator →

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