#8E4EA5#8E4EA5

#8E4EA5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.6% C 0.146 H 316.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8E4EA5
RGBrgb(142, 78, 165)
HSLhsl(284, 36%, 48%)
HSVhsv(284, 53%, 65%)
CMYKcmyk(13.9%, 52.7%, 0%, 35.3%)
CIE-LABlab(44.11, 41.57, -36.16)
CIE-LCHlch(44.11, 55.10, 318.98°)
OKLaboklab(53.56% 0.1059 -0.1006)
OKLCHoklch(53.56% 0.146 316.5)
XYZxyz(20.6702, 13.9168, 37.1874)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4EA5 #65A54E
analogous
#634EA5 #8E4EA5 #A54E90
triadic
#8E4EA5 #A58E4E #4EA58E
tetradic
#8E4EA5 #A5634E #65A54E #4E90A5
square
#8E4EA5 #A5634E #65A54E #4E90A5
split-complementary
#8E4EA5 #90A54E #4EA563
monochromatic
#462752 #6A3A7B #8E4EA5 #A973BD #C39DD1

Accessibility & contrast

On white

5.55
#8E4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8E4EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4EA5
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4EA5#FFFFFF#000000##FFFFFF
##8E4EA51.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#4F6AA3
Tritanopia (blue-blind)
#8D5B72
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e4ea5;
/* rgb */ color: rgb(142, 78, 165);
/* oklch */ color: oklch(53.6% 0.146 316.5);
Tailwind
colors: {
  custom: {
    50: '#b182c0',
    500: '#8e4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4ea5;
$custom-light: #b182c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4ea5",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 284.138,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53559,
    "c": 0.14604,
    "h": 316.5
  },
  "luminance": 0.13916
}

Semantic roles & 50–950 ramp

primary
#8E4EA5
secondary
#9DBD91
accent
#CC5C7A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8E4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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