#8E197E#8E197E

#8E197E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 334.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8E197E
RGBrgb(142, 25, 126)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 82%, 56%)
CMYKcmyk(0%, 82.4%, 11.3%, 44.3%)
CIE-LABlab(33.89, 56.78, -28.55)
CIE-LCHlch(33.89, 63.56, 333.30°)
OKLaboklab(45.45% 0.1657 -0.0782)
OKLCHoklch(45.45% 0.183 334.7)
XYZxyz(15.2691, 7.9538, 20.4657)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E197E #198E29
analogous
#63198E #8E197E #8E1944
triadic
#8E197E #7E8E19 #197E8E
tetradic
#8E197E #8E6319 #198E29 #19448E
square
#8E197E #8E6319 #198E29 #19448E
split-complementary
#8E197E #448E19 #198E63
monochromatic
#260722 #5A1050 #8E197E #C222AC #DE43C9

Accessibility & contrast

On white

8.11
#8E197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E197E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E197E#FFFFFF#000000##FFFFFF
##8E197E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#45567B
Tritanopia (blue-blind)
#95254C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e197e;
/* rgb */ color: rgb(142, 25, 126);
/* oklch */ color: oklch(45.4% 0.183 334.7);
Tailwind
colors: {
  custom: {
    50: '#b366a4',
    500: '#8e197e',
    950: '#000000',
  },
}
SCSS
$custom: #8e197e;
$custom-light: #b366a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e197e",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 308.205,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.18319,
    "h": 334.7
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#8E197E
secondary
#44BF55
accent
#ED533B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E197E

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

Preview Lab → · Contrast checker → · Palette generator →

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