#8E5199#8E5199

#8E5199 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.4% C 0.128 H 321.3°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8E5199
RGBrgb(142, 81, 153)
HSLhsl(291, 31%, 46%)
HSVhsv(291, 47%, 60%)
CMYKcmyk(7.2%, 47.1%, 0%, 40%)
CIE-LABlab(44.14, 37.40, -28.97)
CIE-LCHlch(44.14, 47.31, 322.24°)
OKLaboklab(53.38% 0.0998 -0.0799)
OKLCHoklch(53.38% 0.128 321.3)
XYZxyz(19.8469, 13.9363, 31.7754)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5199 #5C9951
analogous
#6A5199 #8E5199 #995180
triadic
#8E5199 #998E51 #51998E
tetradic
#8E5199 #996A51 #5C9951 #518099
square
#8E5199 #996A51 #5C9951 #518099
split-complementary
#8E5199 #809951 #51996A
monochromatic
#442749 #693C71 #8E5199 #AB73B5 #C39BCA

Accessibility & contrast

On white

5.54
#8E5199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8E5199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E5199
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5199#FFFFFF#000000##FFFFFF
##8E51991.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47649B
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#8F5A6E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8e5199;
/* rgb */ color: rgb(142, 81, 153);
/* oklch */ color: oklch(53.4% 0.128 321.3);
Tailwind
colors: {
  custom: {
    50: '#b184b7',
    500: '#8e5199',
    950: '#000000',
  },
}
SCSS
$custom: #8e5199;
$custom-light: #b184b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5199",
  "rgb": {
    "r": 142,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 290.833,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.12781,
    "h": 321.3
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#8E5199
secondary
#95B78F
accent
#C76170
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E5199

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

Preview Lab → · Contrast checker → · Palette generator →

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