#8E198E#8E198E

#8E198E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.195 H 328.2°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E198E
RGBrgb(142, 25, 142)
HSLhsl(300, 70%, 33%)
HSVhsv(300, 82%, 56%)
CMYKcmyk(0%, 82.4%, 0%, 44.3%)
CIE-LABlab(34.80, 59.30, -37.03)
CIE-LCHlch(34.80, 69.91, 328.01°)
OKLaboklab(46.4% 0.1656 -0.1028)
OKLCHoklch(46.4% 0.195 328.2)
XYZxyz(16.3853, 8.4003, 26.3444)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198E #198E19
analogous
#53198E #8E198E #8E1953
triadic
#8E198E #8E8E19 #198E8E
tetradic
#8E198E #8E5319 #198E19 #19538E
square
#8E198E #8E5319 #198E19 #19538E
split-complementary
#8E198E #538E19 #198E53
monochromatic
#260726 #5A105A #8E198E #C222C2 #DE43DE

Accessibility & contrast

On white

7.84
#8E198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E198E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198E#FFFFFF#000000##FFFFFF
##8E198E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3D578B
Tritanopia (blue-blind)
#932E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e198e;
/* rgb */ color: rgb(142, 25, 142);
/* oklch */ color: oklch(46.4% 0.195 328.2);
Tailwind
colors: {
  custom: {
    50: '#b367af',
    500: '#8e198e',
    950: '#000000',
  },
}
SCSS
$custom: #8e198e;
$custom-light: #b367af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198e",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46396,
    "c": 0.19489,
    "h": 328.2
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#8E198E
secondary
#44BF44
accent
#ED3B3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198E

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

Preview Lab → · Contrast checker → · Palette generator →

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