#8E188B#8E188B

#8E188B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.193 H 329.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E188B
RGBrgb(142, 24, 139)
HSLhsl(302, 71%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 83.1%, 2.1%, 44.3%)
CIE-LABlab(34.54, 59.06, -35.61)
CIE-LCHlch(34.54, 68.96, 328.91°)
OKLaboklab(46.15% 0.1664 -0.0986)
OKLCHoklch(46.15% 0.193 329.3)
XYZxyz(16.1421, 8.2694, 25.1671)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188B #188E1B
analogous
#56188E #8E188B #8E1850
triadic
#8E188B #8B8E18 #188B8E
tetradic
#8E188B #8E5618 #188E1B #18508E
square
#8E188B #8E5618 #188E1B #18508E
split-complementary
#8E188B #508E18 #188E56
monochromatic
#250625 #5A0F58 #8E188B #C221BE #DF41DB

Accessibility & contrast

On white

7.91
#8E188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E188B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188B#FFFFFF#000000##FFFFFF
##8E188B1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#932C53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e188b;
/* rgb */ color: rgb(142, 24, 139);
/* oklch */ color: oklch(46.2% 0.193 329.3);
Tailwind
colors: {
  custom: {
    50: '#b366ad',
    500: '#8e188b',
    950: '#000000',
  },
}
SCSS
$custom: #8e188b;
$custom-light: #b366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188b",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 301.525,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4615,
    "c": 0.19345,
    "h": 329.3
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#8E188B
secondary
#42C045
accent
#EE3F3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188B

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

Preview Lab → · Contrast checker → · Palette generator →

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