#8E198D#8E198D

#8E198D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.194 H 328.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8E198D
RGBrgb(142, 25, 141)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 82%, 56%)
CMYKcmyk(0%, 82.4%, 0.7%, 44.3%)
CIE-LABlab(34.74, 59.13, -36.51)
CIE-LCHlch(34.74, 69.50, 328.31°)
OKLaboklab(46.33% 0.1656 -0.1013)
OKLCHoklch(46.33% 0.194 328.6)
XYZxyz(16.3105, 8.3704, 25.9507)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198D #198E1A
analogous
#55198E #8E198D #8E1952
triadic
#8E198D #8D8E19 #198D8E
tetradic
#8E198D #8E5519 #198E1A #19528E
square
#8E198D #8E5519 #198E1A #19528E
split-complementary
#8E198D #528E19 #198E55
monochromatic
#260726 #5A1059 #8E198D #C222C1 #DE43DD

Accessibility & contrast

On white

7.85
#8E198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E198D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198D#FFFFFF#000000##FFFFFF
##8E198D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#932E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e198d;
/* rgb */ color: rgb(142, 25, 141);
/* oklch */ color: oklch(46.3% 0.194 328.6);
Tailwind
colors: {
  custom: {
    50: '#b367af',
    500: '#8e198d',
    950: '#000000',
  },
}
SCSS
$custom: #8e198d;
$custom-light: #b367af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198d",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 300.513,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46334,
    "c": 0.19414,
    "h": 328.6
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#8E198D
secondary
#44BF45
accent
#ED3C3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198D

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

Preview Lab → · Contrast checker → · Palette generator →

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