#8E4085#8E4085

#8E4085 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.8% C 0.138 H 332.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8E4085
RGBrgb(142, 64, 133)
HSLhsl(307, 38%, 40%)
HSVhsv(307, 55%, 56%)
CMYKcmyk(0%, 54.9%, 6.3%, 44.3%)
CIE-LABlab(39.77, 42.55, -23.68)
CIE-LCHlch(39.77, 48.70, 330.90°)
OKLaboklab(49.84% 0.1215 -0.0646)
OKLCHoklch(49.84% 0.138 332)
XYZxyz(17.2223, 11.1122, 23.4235)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4085 #408E49
analogous
#70408E #8E4085 #8E405E
triadic
#8E4085 #858E40 #40858E
tetradic
#8E4085 #8E7040 #408E49 #405E8E
square
#8E4085 #8E7040 #408E49 #405E8E
split-complementary
#8E4085 #5E8E40 #408E70
monochromatic
#3A1A36 #642D5D #8E4085 #B458A9 #C782BF

Accessibility & contrast

On white

6.52
#8E4085 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8E4085 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4085
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4085#FFFFFF#000000##FFFFFF
##8E40851.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5787
Deuteranopia (green-blind)
#556283
Tritanopia (blue-blind)
#93465C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8e4085;
/* rgb */ color: rgb(142, 64, 133);
/* oklch */ color: oklch(49.8% 0.138 332.0);
Tailwind
colors: {
  custom: {
    50: '#b179a8',
    500: '#8e4085',
    950: '#000000',
  },
}
SCSS
$custom: #8e4085;
$custom-light: #b179a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4085",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 306.923,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49837,
    "c": 0.13761,
    "h": 332
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#8E4085
secondary
#79B17F
accent
#CE675A
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8E4085

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

Preview Lab → · Contrast checker → · Palette generator →

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