#8E189E#8E189E

#8E189E is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.4% C 0.208 H 322.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8E189E
RGBrgb(142, 24, 158)
HSLhsl(293, 74%, 36%)
HSVhsv(293, 85%, 62%)
CMYKcmyk(10.1%, 84.8%, 0%, 38%)
CIE-LABlab(35.74, 62.26, -45.30)
CIE-LCHlch(35.74, 77.00, 323.96°)
OKLaboklab(47.38% 0.1647 -0.1269)
OKLCHoklch(47.38% 0.208 322.4)
XYZxyz(17.6529, 8.8737, 33.1241)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E189E #289E18
analogous
#4B189E #8E189E #9E186B
triadic
#8E189E #9E8E18 #189E8E
tetradic
#8E189E #9E4B18 #289E18 #186B9E
square
#8E189E #9E4B18 #289E18 #186B9E
split-complementary
#8E189E #6B9E18 #189E4B
monochromatic
#2F0834 #5E1069 #8E189E #BE20D3 #D24DE4

Accessibility & contrast

On white

7.57
#8E189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E189E
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E189E#FFFFFF#000000##FFFFFF
##8E189E1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#30589B
Tritanopia (blue-blind)
#90375E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e189e;
/* rgb */ color: rgb(142, 24, 158);
/* oklch */ color: oklch(47.4% 0.208 322.4);
Tailwind
colors: {
  custom: {
    50: '#b367bb',
    500: '#8e189e',
    950: '#000000',
  },
}
SCSS
$custom: #8e189e;
$custom-light: #b367bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e189e",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 292.836,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.20793,
    "h": 322.4
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#8E189E
secondary
#5BC64C
accent
#F0384E
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E189E

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

Preview Lab → · Contrast checker → · Palette generator →

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