#8E198B#8E198B

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

Color values

HEX#8E198B
RGBrgb(142, 25, 139)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 82%, 56%)
CMYKcmyk(0%, 82.4%, 2.1%, 44.3%)
CIE-LABlab(34.62, 58.81, -35.47)
CIE-LCHlch(34.62, 68.68, 328.90°)
OKLaboklab(46.21% 0.1657 -0.0982)
OKLCHoklch(46.21% 0.193 329.3)
XYZxyz(16.1630, 8.3114, 25.1741)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198B #198E1C
analogous
#56198E #8E198B #8E1951
triadic
#8E198B #8B8E19 #198B8E
tetradic
#8E198B #8E5619 #198E1C #19518E
square
#8E198B #8E5619 #198E1C #19518E
split-complementary
#8E198B #518E19 #198E56
monochromatic
#260725 #5A1058 #8E198B #C222BE #DE43DA

Accessibility & contrast

On white

7.89
#8E198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E198B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198B#FFFFFF#000000##FFFFFF
##8E198B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3E5788
Tritanopia (blue-blind)
#932D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e198b;
/* rgb */ color: rgb(142, 25, 139);
/* oklch */ color: oklch(46.2% 0.193 329.3);
Tailwind
colors: {
  custom: {
    50: '#b366ad',
    500: '#8e198b',
    950: '#000000',
  },
}
SCSS
$custom: #8e198b;
$custom-light: #b366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198b",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 301.538,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.19264,
    "h": 329.3
  },
  "luminance": 0.0831
}

Semantic roles & 50–950 ramp

primary
#8E198B
secondary
#44BF47
accent
#ED403B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198B

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

Preview Lab → · Contrast checker → · Palette generator →

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