#8E4B98#8E4B98

#8E4B98 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.137 H 322.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8E4B98
RGBrgb(142, 75, 152)
HSLhsl(292, 34%, 45%)
HSVhsv(292, 51%, 60%)
CMYKcmyk(6.6%, 50.7%, 0%, 40.4%)
CIE-LABlab(42.84, 40.46, -30.41)
CIE-LCHlch(42.84, 50.61, 323.07°)
OKLaboklab(52.4% 0.1085 -0.084)
OKLCHoklch(52.4% 0.137 322.3)
XYZxyz(19.3383, 13.0508, 31.2001)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4B98 #55984B
analogous
#684B98 #8E4B98 #984B7C
triadic
#8E4B98 #988E4B #4B988E
tetradic
#8E4B98 #98684B #55984B #4B7C98
square
#8E4B98 #98684B #55984B #4B7C98
split-complementary
#8E4B98 #7C984B #4B9868
monochromatic
#412346 #68376F #8E4B98 #AC6AB6 #C393CA

Accessibility & contrast

On white

5.82
#8E4B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8E4B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4B98
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4B98#FFFFFF#000000##FFFFFF
##8E4B981.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40609B
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#90556A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e4b98;
/* rgb */ color: rgb(142, 75, 152);
/* oklch */ color: oklch(52.4% 0.137 322.3);
Tailwind
colors: {
  custom: {
    50: '#b180b6',
    500: '#8e4b98',
    950: '#000000',
  },
}
SCSS
$custom: #8e4b98;
$custom-light: #b180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4b98",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 152
  },
  "hsl": {
    "h": 292.208,
    "s": 33.921,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.13722,
    "h": 322.3
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#8E4B98
secondary
#8FB689
accent
#CA5E6C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4B98

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

Preview Lab → · Contrast checker → · Palette generator →

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