#8E2099#8E2099

#8E2099 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.197 H 323.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8E2099
RGBrgb(142, 32, 153)
HSLhsl(295, 65%, 36%)
HSVhsv(295, 79%, 60%)
CMYKcmyk(7.2%, 79.1%, 0%, 40%)
CIE-LABlab(36.15, 59.25, -41.62)
CIE-LCHlch(36.15, 72.40, 324.92°)
OKLaboklab(47.57% 0.1595 -0.1162)
OKLCHoklch(47.57% 0.197 323.9)
XYZxyz(17.4211, 9.0848, 30.9668)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2099 #2B9920
analogous
#522099 #8E2099 #992068
triadic
#8E2099 #998E20 #20998E
tetradic
#8E2099 #995220 #2B9920 #206899
square
#8E2099 #995220 #2B9920 #206899
split-complementary
#8E2099 #689920 #209952
monochromatic
#300B34 #5F1566 #8E2099 #BD2BCC #D057DC

Accessibility & contrast

On white

7.46
#8E2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8E2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2099
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2099#FFFFFF#000000##FFFFFF
##8E20991.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#91385C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2099;
/* rgb */ color: rgb(142, 32, 153);
/* oklch */ color: oklch(47.6% 0.197 323.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab8',
    500: '#8e2099',
    950: '#000000',
  },
}
SCSS
$custom: #8e2099;
$custom-light: #b36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2099",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 294.545,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47567,
    "c": 0.19732,
    "h": 323.9
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#8E2099
secondary
#5FC055
accent
#E83F4F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2099

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

Preview Lab → · Contrast checker → · Palette generator →

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