#8E198C#8E198C

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

Color values

HEX#8E198C
RGBrgb(142, 25, 140)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 82%, 56%)
CMYKcmyk(0%, 82.4%, 1.4%, 44.3%)
CIE-LABlab(34.68, 58.97, -35.99)
CIE-LCHlch(34.68, 69.09, 328.60°)
OKLaboklab(46.27% 0.1657 -0.0998)
OKLCHoklch(46.27% 0.193 328.9)
XYZxyz(16.2364, 8.3408, 25.5606)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198C #198E1B
analogous
#56198E #8E198C #8E1951
triadic
#8E198C #8C8E19 #198C8E
tetradic
#8E198C #8E5619 #198E1B #19518E
square
#8E198C #8E5619 #198E1B #19518E
split-complementary
#8E198C #518E19 #198E56
monochromatic
#260725 #5A1059 #8E198C #C222BF #DE43DB

Accessibility & contrast

On white

7.87
#8E198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8E198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E198C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198C#FFFFFF#000000##FFFFFF
##8E198C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#932D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e198c;
/* rgb */ color: rgb(142, 25, 140);
/* oklch */ color: oklch(46.3% 0.193 328.9);
Tailwind
colors: {
  custom: {
    50: '#b367ae',
    500: '#8e198c',
    950: '#000000',
  },
}
SCSS
$custom: #8e198c;
$custom-light: #b367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198c",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 301.026,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46272,
    "c": 0.19339,
    "h": 328.9
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#8E198C
secondary
#44BF46
accent
#ED3E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198C

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

Preview Lab → · Contrast checker → · Palette generator →

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