#8E2C99#8E2C99

#8E2C99 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.184 H 323.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8E2C99
RGBrgb(142, 44, 153)
HSLhsl(294, 55%, 39%)
HSVhsv(294, 71%, 60%)
CMYKcmyk(7.2%, 71.2%, 0%, 40%)
CIE-LABlab(37.58, 55.16, -39.33)
CIE-LCHlch(37.58, 67.74, 324.51°)
OKLaboklab(48.59% 0.1483 -0.1096)
OKLCHoklch(48.59% 0.184 323.5)
XYZxyz(17.8053, 9.8531, 31.0948)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C99 #37992C
analogous
#572C99 #8E2C99 #992C6D
triadic
#8E2C99 #998E2C #2C998E
tetradic
#8E2C99 #99572C #37992C #2C6D99
square
#8E2C99 #99572C #37992C #2C6D99
split-complementary
#8E2C99 #6D992C #2C9957
monochromatic
#36113A #621E69 #8E2C99 #B93BC7 #CA6BD4

Accessibility & contrast

On white

7.07
#8E2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8E2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C99
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C99#FFFFFF#000000##FFFFFF
##8E2C991.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08519C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#903F5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2c99;
/* rgb */ color: rgb(142, 44, 153);
/* oklch */ color: oklch(48.6% 0.184 323.5);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8e2c99',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c99;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c99",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 293.945,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.1844,
    "h": 323.5
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#8E2C99
secondary
#6EBB66
accent
#DF4958
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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