#8E197B#8E197B

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

Color values

HEX#8E197B
RGBrgb(142, 25, 123)
HSLhsl(310, 70%, 33%)
HSVhsv(310, 82%, 56%)
CMYKcmyk(0%, 82.4%, 13.4%, 44.3%)
CIE-LABlab(33.73, 56.33, -26.92)
CIE-LCHlch(33.73, 62.44, 334.45°)
OKLaboklab(45.28% 0.1655 -0.0735)
OKLCHoklch(45.28% 0.181 336)
XYZxyz(15.0784, 7.8775, 19.4615)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E197B #198E2C
analogous
#67198E #8E197B #8E1940
triadic
#8E197B #7B8E19 #197B8E
tetradic
#8E197B #8E6719 #198E2C #19408E
square
#8E197B #8E6719 #198E2C #19408E
split-complementary
#8E197B #408E19 #198E67
monochromatic
#260721 #5A104E #8E197B #C222A8 #DE43C5

Accessibility & contrast

On white

8.15
#8E197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E197B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E197B#FFFFFF#000000##FFFFFF
##8E197B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#96234A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e197b;
/* rgb */ color: rgb(142, 25, 123);
/* oklch */ color: oklch(45.3% 0.181 336.0);
Tailwind
colors: {
  custom: {
    50: '#b366a1',
    500: '#8e197b',
    950: '#000000',
  },
}
SCSS
$custom: #8e197b;
$custom-light: #b366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e197b",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 309.744,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.18108,
    "h": 336
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#8E197B
secondary
#44BF58
accent
#ED583B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E197B

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

Preview Lab → · Contrast checker → · Palette generator →

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