#8E197C#8E197C

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

Color values

HEX#8E197C
RGBrgb(142, 25, 124)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 82%, 56%)
CMYKcmyk(0%, 82.4%, 12.7%, 44.3%)
CIE-LABlab(33.78, 56.48, -27.47)
CIE-LCHlch(33.78, 62.81, 334.06°)
OKLaboklab(45.34% 0.1655 -0.0751)
OKLCHoklch(45.34% 0.182 335.6)
XYZxyz(15.1413, 7.9027, 19.7928)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E197C #198E2B
analogous
#66198E #8E197C #8E1941
triadic
#8E197C #7C8E19 #197C8E
tetradic
#8E197C #8E6619 #198E2B #19418E
square
#8E197C #8E6619 #198E2B #19418E
split-complementary
#8E197C #418E19 #198E66
monochromatic
#260721 #5A104F #8E197C #C222A9 #DE43C6

Accessibility & contrast

On white

8.14
#8E197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E197C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E197C#FFFFFF#000000##FFFFFF
##8E197C1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447F
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#96244A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e197c;
/* rgb */ color: rgb(142, 25, 124);
/* oklch */ color: oklch(45.3% 0.182 335.6);
Tailwind
colors: {
  custom: {
    50: '#b366a2',
    500: '#8e197c',
    950: '#000000',
  },
}
SCSS
$custom: #8e197c;
$custom-light: #b366a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e197c",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 309.231,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45337,
    "c": 0.18178,
    "h": 335.6
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#8E197C
secondary
#44BF57
accent
#ED563B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E197C

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

Preview Lab → · Contrast checker → · Palette generator →

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