#8E4099#8E4099

#8E4099 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 50.9% C 0.156 H 322.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8E4099
RGBrgb(142, 64, 153)
HSLhsl(293, 41%, 43%)
HSVhsv(293, 58%, 60%)
CMYKcmyk(7.2%, 58.2%, 0%, 40%)
CIE-LABlab(40.77, 46.33, -34.27)
CIE-LCHlch(40.77, 57.63, 323.51°)
OKLaboklab(50.89% 0.1241 -0.0951)
OKLCHoklch(50.89% 0.156 322.6)
XYZxyz(18.7379, 11.7184, 31.4057)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4099 #4B9940
analogous
#614099 #8E4099 #994078
triadic
#8E4099 #998E40 #40998E
tetradic
#8E4099 #996140 #4B9940 #407899
square
#8E4099 #996140 #4B9940 #407899
split-complementary
#8E4099 #789940 #409961
monochromatic
#3E1C43 #662E6E #8E4099 #AF5CBB #C487CD

Accessibility & contrast

On white

6.28
#8E4099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8E4099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4099
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4099#FFFFFF#000000##FFFFFF
##8E40991.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9C
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#904D66
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e4099;
/* rgb */ color: rgb(142, 64, 153);
/* oklch */ color: oklch(50.9% 0.156 322.6);
Tailwind
colors: {
  custom: {
    50: '#b179b7',
    500: '#8e4099',
    950: '#000000',
  },
}
SCSS
$custom: #8e4099;
$custom-light: #b179b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4099",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 292.584,
    "s": 41.014,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.15636,
    "h": 322.6
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#8E4099
secondary
#85B77E
accent
#D15766
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8E4099

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

Preview Lab → · Contrast checker → · Palette generator →

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