#8E198A#8E198A

#8E198A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 329.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E198A
RGBrgb(142, 25, 138)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 82%, 56%)
CMYKcmyk(0%, 82.4%, 2.8%, 44.3%)
CIE-LABlab(34.56, 58.65, -34.95)
CIE-LCHlch(34.56, 68.27, 329.21°)
OKLaboklab(46.15% 0.1657 -0.0967)
OKLCHoklch(46.15% 0.192 329.7)
XYZxyz(16.0903, 8.2823, 24.7910)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198A #198E1D
analogous
#57198E #8E198A #8E1950
triadic
#8E198A #8A8E19 #198A8E
tetradic
#8E198A #8E5719 #198E1D #19508E
square
#8E198A #8E5719 #198E1D #19508E
split-complementary
#8E198A #508E19 #198E57
monochromatic
#260725 #5A1057 #8E198A #C222BD #DE43D9

Accessibility & contrast

On white

7.91
#8E198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E198A
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198A#FFFFFF#000000##FFFFFF
##8E198A1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#932C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e198a;
/* rgb */ color: rgb(142, 25, 138);
/* oklch */ color: oklch(46.2% 0.192 329.7);
Tailwind
colors: {
  custom: {
    50: '#b366ac',
    500: '#8e198a',
    950: '#000000',
  },
}
SCSS
$custom: #8e198a;
$custom-light: #b366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198a",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 302.051,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.1919,
    "h": 329.7
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#8E198A
secondary
#44BF48
accent
#ED413B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198A

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

Preview Lab → · Contrast checker → · Palette generator →

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