#8E4E98#8E4E98

#8E4E98 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 52.9% C 0.132 H 322.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8E4E98
RGBrgb(142, 78, 152)
HSLhsl(292, 32%, 45%)
HSVhsv(292, 49%, 60%)
CMYKcmyk(6.6%, 48.7%, 0%, 40.4%)
CIE-LABlab(43.46, 38.84, -29.44)
CIE-LCHlch(43.46, 48.74, 322.84°)
OKLaboklab(52.86% 0.1041 -0.0812)
OKLCHoklch(52.86% 0.132 322)
XYZxyz(19.5466, 13.4674, 31.2695)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4E98 #58984E
analogous
#694E98 #8E4E98 #984E7D
triadic
#8E4E98 #988E4E #4E988E
tetradic
#8E4E98 #98694E #58984E #4E7D98
square
#8E4E98 #98694E #58984E #4E7D98
split-complementary
#8E4E98 #7D984E #4E9869
monochromatic
#422447 #683970 #8E4E98 #AB6EB5 #C397CA

Accessibility & contrast

On white

5.69
#8E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E4E98
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4E98#FFFFFF#000000##FFFFFF
##8E4E981.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e4e98;
/* rgb */ color: rgb(142, 78, 152);
/* oklch */ color: oklch(52.9% 0.132 322.0);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #8e4e98;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4e98",
  "rgb": {
    "r": 142,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 291.892,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.13202,
    "h": 322
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#8E4E98
secondary
#91B68C
accent
#C85F6E
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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