#8E188A#8E188A

#8E188A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.193 H 329.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E188A
RGBrgb(142, 24, 138)
HSLhsl(302, 71%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 83.1%, 2.8%, 44.3%)
CIE-LABlab(34.48, 58.90, -35.08)
CIE-LCHlch(34.48, 68.55, 329.22°)
OKLaboklab(46.09% 0.1664 -0.0971)
OKLCHoklch(46.09% 0.193 329.7)
XYZxyz(16.0693, 8.2403, 24.7840)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188A #188E1C
analogous
#57188E #8E188A #8E184F
triadic
#8E188A #8A8E18 #188A8E
tetradic
#8E188A #8E5718 #188E1C #184F8E
square
#8E188A #8E5718 #188E1C #184F8E
split-complementary
#8E188A #4F8E18 #188E57
monochromatic
#250624 #5A0F57 #8E188A #C221BD #DF41DA

Accessibility & contrast

On white

7.93
#8E188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E188A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188A#FFFFFF#000000##FFFFFF
##8E188A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3F5687
Tritanopia (blue-blind)
#932C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e188a;
/* rgb */ color: rgb(142, 24, 138);
/* oklch */ color: oklch(46.1% 0.193 329.7);
Tailwind
colors: {
  custom: {
    50: '#b366ac',
    500: '#8e188a',
    950: '#000000',
  },
}
SCSS
$custom: #8e188a;
$custom-light: #b366ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188a",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 302.034,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.19271,
    "h": 329.7
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#8E188A
secondary
#42C046
accent
#EE403A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188A

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

Preview Lab → · Contrast checker → · Palette generator →

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