#8E409B#8E409B

#8E409B is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.0% C 0.158 H 321.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8E409B
RGBrgb(142, 64, 155)
HSLhsl(291, 42%, 43%)
HSVhsv(291, 59%, 61%)
CMYKcmyk(8.4%, 58.7%, 0%, 39.2%)
CIE-LABlab(40.87, 46.72, -35.31)
CIE-LCHlch(40.87, 58.56, 322.92°)
OKLaboklab(51.01% 0.1243 -0.0981)
OKLCHoklch(51.01% 0.158 321.7)
XYZxyz(18.9045, 11.7850, 32.2830)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E409B #4D9B40
analogous
#61409B #8E409B #9B407A
triadic
#8E409B #9B8E40 #409B8E
tetradic
#8E409B #9B6140 #4D9B40 #407A9B
square
#8E409B #9B6140 #4D9B40 #407A9B
split-complementary
#8E409B #7A9B40 #409B61
monochromatic
#3F1C44 #662E70 #8E409B #AE5CBC #C488CE

Accessibility & contrast

On white

6.26
#8E409B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8E409B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E409B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E409B#FFFFFF#000000##FFFFFF
##8E409B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9E
Deuteranopia (green-blind)
#4A6399
Tritanopia (blue-blind)
#904D67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e409b;
/* rgb */ color: rgb(142, 64, 155);
/* oklch */ color: oklch(51.0% 0.158 321.7);
Tailwind
colors: {
  custom: {
    50: '#b179b9',
    500: '#8e409b',
    950: '#000000',
  },
}
SCSS
$custom: #8e409b;
$custom-light: #b179b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e409b",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 291.429,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51007,
    "c": 0.15832,
    "h": 321.7
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#8E409B
secondary
#87B87E
accent
#D15668
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8E409B

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

Preview Lab → · Contrast checker → · Palette generator →

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