#8E2199#8E2199

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

Color values

HEX#8E2199
RGBrgb(142, 33, 153)
HSLhsl(295, 65%, 36%)
HSVhsv(295, 78%, 60%)
CMYKcmyk(7.2%, 78.4%, 0%, 40%)
CIE-LABlab(36.25, 58.95, -41.45)
CIE-LCHlch(36.25, 72.06, 324.89°)
OKLaboklab(47.64% 0.1587 -0.1157)
OKLCHoklch(47.64% 0.196 323.9)
XYZxyz(17.4485, 9.1395, 30.9759)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2199 #2C9921
analogous
#522199 #8E2199 #992168
triadic
#8E2199 #998E21 #21998E
tetradic
#8E2199 #995221 #2C9921 #216899
square
#8E2199 #995221 #2C9921 #216899
split-complementary
#8E2199 #689921 #219952
monochromatic
#310B34 #5F1667 #8E2199 #BD2CCB #CF59DB

Accessibility & contrast

On white

7.43
#8E2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8E2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2199
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2199#FFFFFF#000000##FFFFFF
##8E21991.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#385A96
Tritanopia (blue-blind)
#91385D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2199;
/* rgb */ color: rgb(142, 33, 153);
/* oklch */ color: oklch(47.6% 0.196 323.9);
Tailwind
colors: {
  custom: {
    50: '#b36ab8',
    500: '#8e2199',
    950: '#000000',
  },
}
SCSS
$custom: #8e2199;
$custom-light: #b36ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2199",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 294.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47641,
    "c": 0.19637,
    "h": 323.9
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#8E2199
secondary
#60BF56
accent
#E84050
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2199

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

Preview Lab → · Contrast checker → · Palette generator →

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