#8E4E95#8E4E95

#8E4E95 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.7% C 0.129 H 323.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8E4E95
RGBrgb(142, 78, 149)
HSLhsl(294, 31%, 45%)
HSVhsv(294, 48%, 58%)
CMYKcmyk(4.7%, 47.7%, 0%, 41.6%)
CIE-LABlab(43.32, 38.23, -27.86)
CIE-LCHlch(43.32, 47.31, 323.92°)
OKLaboklab(52.71% 0.1036 -0.0767)
OKLCHoklch(52.71% 0.129 323.5)
XYZxyz(19.3040, 13.3703, 29.9918)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E95 #55954E
analogous
#6B4E95 #8E4E95 #954E79
triadic
#8E4E95 #958E4E #4E958E
tetradic
#8E4E95 #956B4E #55954E #4E7995
square
#8E4E95 #956B4E #55954E #4E7995
split-complementary
#8E4E95 #79954E #4E956B
monochromatic
#412445 #68396D #8E4E95 #AC6DB3 #C396C8

Accessibility & contrast

On white

5.72
#8E4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8E4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E95
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E95#FFFFFF#000000##FFFFFF
##8E4E951.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456197
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#90566A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e4e95;
/* rgb */ color: rgb(142, 78, 149);
/* oklch */ color: oklch(52.7% 0.129 323.5);
Tailwind
colors: {
  custom: {
    50: '#b182b4',
    500: '#8e4e95',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e95;
$custom-light: #b182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e95",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 294.085,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.12887,
    "h": 323.5
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#8E4E95
secondary
#8FB48A
accent
#C7606A
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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