#8E197F#8E197F

#8E197F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.184 H 334.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E197F
RGBrgb(142, 25, 127)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 82%, 56%)
CMYKcmyk(0%, 82.4%, 10.6%, 44.3%)
CIE-LABlab(33.94, 56.93, -29.09)
CIE-LCHlch(33.94, 63.93, 332.93°)
OKLaboklab(45.5% 0.1657 -0.0798)
OKLCHoklch(45.5% 0.184 334.3)
XYZxyz(15.3339, 7.9797, 20.8072)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E197F #198E28
analogous
#62198E #8E197F #8E1945
triadic
#8E197F #7F8E19 #197F8E
tetradic
#8E197F #8E6219 #198E28 #19458E
square
#8E197F #8E6219 #198E28 #19458E
split-complementary
#8E197F #458E19 #198E62
monochromatic
#260722 #5A1050 #8E197F #C222AE #DE43CA

Accessibility & contrast

On white

8.09
#8E197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E197F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E197F#FFFFFF#000000##FFFFFF
##8E197F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#95264C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e197f;
/* rgb */ color: rgb(142, 25, 127);
/* oklch */ color: oklch(45.5% 0.184 334.3);
Tailwind
colors: {
  custom: {
    50: '#b366a4',
    500: '#8e197f',
    950: '#000000',
  },
}
SCSS
$custom: #8e197f;
$custom-light: #b366a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e197f",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 307.692,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.1839,
    "h": 334.3
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#8E197F
secondary
#44BF54
accent
#ED523B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E197F

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

Preview Lab → · Contrast checker → · Palette generator →

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