#8E199C#8E199C

#8E199C is a mid, highly saturated purple. Relative luminance 0.088; OKLCH L 47.3% C 0.206 H 323.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8E199C
RGBrgb(142, 25, 156)
HSLhsl(294, 72%, 35%)
HSVhsv(294, 84%, 61%)
CMYKcmyk(9%, 84%, 0%, 38.8%)
CIE-LABlab(35.69, 61.67, -44.17)
CIE-LCHlch(35.69, 75.86, 324.39°)
OKLaboklab(47.31% 0.1643 -0.1236)
OKLCHoklch(47.31% 0.206 323)
XYZxyz(17.5031, 8.8474, 32.2319)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E199C #279C19
analogous
#4C199C #8E199C #9C1968
triadic
#8E199C #9C8E19 #199C8E
tetradic
#8E199C #9C4C19 #279C19 #19689C
square
#8E199C #9C4C19 #279C19 #19689C
split-complementary
#8E199C #689C19 #199C4C
monochromatic
#2E0833 #5E1167 #8E199C #BE21D1 #D24DE2

Accessibility & contrast

On white

7.58
#8E199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E199C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E199C#FFFFFF#000000##FFFFFF
##8E199C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#90365D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e199c;
/* rgb */ color: rgb(142, 25, 156);
/* oklch */ color: oklch(47.3% 0.206 323.0);
Tailwind
colors: {
  custom: {
    50: '#b367ba',
    500: '#8e199c',
    950: '#000000',
  },
}
SCSS
$custom: #8e199c;
$custom-light: #b367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e199c",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 293.588,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.20564,
    "h": 323
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#8E199C
secondary
#59C44C
accent
#EF394C
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E199C

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

Preview Lab → · Contrast checker → · Palette generator →

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