#8E4FA5#8E4FA5

#8E4FA5 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 53.7% C 0.144 H 316.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#8E4FA5
RGBrgb(142, 79, 165)
HSLhsl(284, 35%, 48%)
HSVhsv(284, 52%, 65%)
CMYKcmyk(13.9%, 52.1%, 0%, 35.3%)
CIE-LABlab(44.32, 41.03, -35.83)
CIE-LCHlch(44.32, 54.48, 318.87°)
OKLaboklab(53.71% 0.1044 -0.0997)
OKLCHoklch(53.71% 0.144 316.3)
XYZxyz(20.7418, 14.0600, 37.2113)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4FA5 #66A54F
analogous
#634FA5 #8E4FA5 #A54F91
triadic
#8E4FA5 #A58E4F #4FA58E
tetradic
#8E4FA5 #A5634F #66A54F #4F91A5
square
#8E4FA5 #A5634F #66A54F #4F91A5
split-complementary
#8E4FA5 #91A54F #4FA563
monochromatic
#472752 #6A3B7C #8E4FA5 #A975BD #C39ED1

Accessibility & contrast

On white

5.51
#8E4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#8E4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4FA5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4FA5#FFFFFF#000000##FFFFFF
##8E4FA51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D65A8
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#8D5C72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8e4fa5;
/* rgb */ color: rgb(142, 79, 165);
/* oklch */ color: oklch(53.7% 0.144 316.3);
Tailwind
colors: {
  custom: {
    50: '#b183c0',
    500: '#8e4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #8e4fa5;
$custom-light: #b183c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4fa5",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 283.953,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.14437,
    "h": 316.3
  },
  "luminance": 0.14059
}

Semantic roles & 50–950 ramp

primary
#8E4FA5
secondary
#9EBD92
accent
#CB5D7A
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8E4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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