#8E197D#8E197D

#8E197D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.182 H 335.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E197D
RGBrgb(142, 25, 125)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 82%, 56%)
CMYKcmyk(0%, 82.4%, 12%, 44.3%)
CIE-LABlab(33.83, 56.63, -28.01)
CIE-LCHlch(33.83, 63.18, 333.68°)
OKLaboklab(45.39% 0.1656 -0.0767)
OKLCHoklch(45.39% 0.182 335.2)
XYZxyz(15.2049, 7.9281, 20.1276)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E197D #198E2A
analogous
#64198E #8E197D #8E1942
triadic
#8E197D #7D8E19 #197D8E
tetradic
#8E197D #8E6419 #198E2A #19428E
square
#8E197D #8E6419 #198E2A #19428E
split-complementary
#8E197D #428E19 #198E64
monochromatic
#260721 #5A104F #8E197D #C222AB #DE43C8

Accessibility & contrast

On white

8.12
#8E197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E197D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E197D#FFFFFF#000000##FFFFFF
##8E197D1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184580
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#95254B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e197d;
/* rgb */ color: rgb(142, 25, 125);
/* oklch */ color: oklch(45.4% 0.182 335.2);
Tailwind
colors: {
  custom: {
    50: '#b366a3',
    500: '#8e197d',
    950: '#000000',
  },
}
SCSS
$custom: #8e197d;
$custom-light: #b366a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e197d",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 308.718,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.18249,
    "h": 335.2
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#8E197D
secondary
#44BF56
accent
#ED553B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E197D

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

Preview Lab → · Contrast checker → · Palette generator →

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