#8E378D#8E378D

#8E378D is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.159 H 328.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8E378D
RGBrgb(142, 55, 141)
HSLhsl(301, 44%, 39%)
HSVhsv(301, 61%, 56%)
CMYKcmyk(0%, 61.3%, 0.7%, 44.3%)
CIE-LABlab(38.56, 48.33, -30.46)
CIE-LCHlch(38.56, 57.13, 327.78°)
OKLaboklab(49.08% 0.135 -0.084)
OKLCHoklch(49.08% 0.159 328.1)
XYZxyz(17.3290, 10.4074, 26.2902)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E378D #378E38
analogous
#63378E #8E378D #8E3761
triadic
#8E378D #8D8E37 #378D8E
tetradic
#8E378D #8E6337 #378E38 #37618E
square
#8E378D #8E6337 #378E38 #37618E
split-complementary
#8E378D #618E37 #378E63
monochromatic
#361535 #622661 #8E378D #B949B7 #CA76C9

Accessibility & contrast

On white

6.82
#8E378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8E378D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E378D
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E378D#FFFFFF#000000##FFFFFF
##8E378D1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5390
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#92415D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e378d;
/* rgb */ color: rgb(142, 55, 141);
/* oklch */ color: oklch(49.1% 0.159 328.1);
Tailwind
colors: {
  custom: {
    50: '#b274ae',
    500: '#8e378d',
    950: '#000000',
  },
}
SCSS
$custom: #8e378d;
$custom-light: #b274ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e378d",
  "rgb": {
    "r": 142,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 300.69,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49082,
    "c": 0.15898,
    "h": 328.1
  },
  "luminance": 0.10406
}

Semantic roles & 50–950 ramp

primary
#8E378D
secondary
#6EB36F
accent
#D45554
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E378D

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

Preview Lab → · Contrast checker → · Palette generator →

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