#8E188C#8E188C

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

Color values

HEX#8E188C
RGBrgb(142, 24, 140)
HSLhsl(301, 71%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 83.1%, 1.4%, 44.3%)
CIE-LABlab(34.60, 59.22, -36.13)
CIE-LCHlch(34.60, 69.37, 328.61°)
OKLaboklab(46.21% 0.1664 -0.1001)
OKLCHoklch(46.21% 0.194 329)
XYZxyz(16.2155, 8.2988, 25.5536)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188C #188E1A
analogous
#55188E #8E188C #8E1851
triadic
#8E188C #8C8E18 #188C8E
tetradic
#8E188C #8E5518 #188E1A #18518E
square
#8E188C #8E5518 #188E1A #18518E
split-complementary
#8E188C #518E18 #188E55
monochromatic
#250625 #5A0F58 #8E188C #C221C0 #DF41DC

Accessibility & contrast

On white

7.90
#8E188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E188C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188C#FFFFFF#000000##FFFFFF
##8E188C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#932D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e188c;
/* rgb */ color: rgb(142, 24, 140);
/* oklch */ color: oklch(46.2% 0.194 329.0);
Tailwind
colors: {
  custom: {
    50: '#b366ae',
    500: '#8e188c',
    950: '#000000',
  },
}
SCSS
$custom: #8e188c;
$custom-light: #b366ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188c",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 301.017,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.1942,
    "h": 329
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#8E188C
secondary
#42C044
accent
#EE3D3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188C

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

Preview Lab → · Contrast checker → · Palette generator →

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