#8E4783#8E4783

#8E4783 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 50.8% C 0.124 H 333.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8E4783
RGBrgb(142, 71, 131)
HSLhsl(309, 33%, 42%)
HSVhsv(309, 50%, 56%)
CMYKcmyk(0%, 50%, 7.7%, 44.3%)
CIE-LABlab(41.05, 38.56, -20.47)
CIE-LCHlch(41.05, 43.66, 332.04°)
OKLaboklab(50.76% 0.1106 -0.0555)
OKLCHoklch(50.76% 0.124 333.3)
XYZxyz(17.5053, 11.8971, 22.8427)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4783 #478E52
analogous
#76478E #8E4783 #8E4760
triadic
#8E4783 #838E47 #47838E
tetradic
#8E4783 #8E7647 #478E52 #47608E
square
#8E4783 #8E7647 #478E52 #47608E
split-complementary
#8E4783 #608E47 #478E76
monochromatic
#3C1E38 #65335D #8E4783 #B062A4 #C58BBC

Accessibility & contrast

On white

6.21
#8E4783 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8E4783 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4783
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4783#FFFFFF#000000##FFFFFF
##8E47831.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A85
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#944B5F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8e4783;
/* rgb */ color: rgb(142, 71, 131);
/* oklch */ color: oklch(50.8% 0.124 333.3);
Tailwind
colors: {
  custom: {
    50: '#b17da7',
    500: '#8e4783',
    950: '#000000',
  },
}
SCSS
$custom: #8e4783;
$custom-light: #b17da7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4783",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 309.296,
    "s": 33.333,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50758,
    "c": 0.12379,
    "h": 333.3
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#8E4783
secondary
#80B088
accent
#C96F5E
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8E4783

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

Preview Lab → · Contrast checker → · Palette generator →

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