#8E4E97#8E4E97

#8E4E97 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.8% C 0.131 H 322.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8E4E97
RGBrgb(142, 78, 151)
HSLhsl(293, 32%, 45%)
HSVhsv(293, 48%, 59%)
CMYKcmyk(6%, 48.3%, 0%, 40.8%)
CIE-LABlab(43.41, 38.64, -28.91)
CIE-LCHlch(43.41, 48.26, 323.19°)
OKLaboklab(52.81% 0.1039 -0.0797)
OKLCHoklch(52.81% 0.131 322.5)
XYZxyz(19.4650, 13.4348, 30.8400)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E97 #57974E
analogous
#6A4E97 #8E4E97 #974E7B
triadic
#8E4E97 #978E4E #4E978E
tetradic
#8E4E97 #976A4E #57974E #4E7B97
square
#8E4E97 #976A4E #57974E #4E7B97
split-complementary
#8E4E97 #7B974E #4E976A
monochromatic
#422446 #68396F #8E4E97 #AB6EB4 #C396C9

Accessibility & contrast

On white

5.70
#8E4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8E4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4E97
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E97#FFFFFF#000000##FFFFFF
##8E4E971.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#90576B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e4e97;
/* rgb */ color: rgb(142, 78, 151);
/* oklch */ color: oklch(52.8% 0.131 322.5);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8e4e97',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e97;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e97",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 292.603,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.13097,
    "h": 322.5
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#8E4E97
secondary
#90B68B
accent
#C8606D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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