#8E198F#8E198F

#8E198F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.196 H 327.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8E198F
RGBrgb(142, 25, 143)
HSLhsl(299, 70%, 33%)
HSVhsv(299, 83%, 56%)
CMYKcmyk(0.7%, 82.5%, 0%, 43.9%)
CIE-LABlab(34.86, 59.46, -37.55)
CIE-LCHlch(34.86, 70.33, 327.73°)
OKLaboklab(46.46% 0.1655 -0.1043)
OKLCHoklch(46.46% 0.196 327.8)
XYZxyz(16.4607, 8.4305, 26.7415)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E198F #1A8F19
analogous
#53198F #8E198F #8F1955
triadic
#8E198F #8F8E19 #198F8E
tetradic
#8E198F #8F5319 #1A8F19 #19558F
square
#8E198F #8F5319 #1A8F19 #19558F
split-complementary
#8E198F #558F19 #198F53
monochromatic
#270727 #5A105B #8E198F #C222C3 #DD44DE

Accessibility & contrast

On white

7.82
#8E198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8E198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E198F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E198F#FFFFFF#000000##FFFFFF
##8E198F1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#932F55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e198f;
/* rgb */ color: rgb(142, 25, 143);
/* oklch */ color: oklch(46.5% 0.196 327.8);
Tailwind
colors: {
  custom: {
    50: '#b367b0',
    500: '#8e198f',
    950: '#000000',
  },
}
SCSS
$custom: #8e198f;
$custom-light: #b367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e198f",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 299.492,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.19565,
    "h": 327.8
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#8E198F
secondary
#45BF44
accent
#ED3B3C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E198F

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

Preview Lab → · Contrast checker → · Palette generator →

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