#8D198E#8D198E

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

Color values

HEX#8D198E
RGBrgb(141, 25, 142)
HSLhsl(299, 70%, 33%)
HSVhsv(299, 82%, 56%)
CMYKcmyk(0.7%, 82.4%, 0%, 44.3%)
CIE-LABlab(34.62, 59.09, -37.33)
CIE-LCHlch(34.62, 69.90, 327.72°)
OKLaboklab(46.24% 0.1645 -0.1037)
OKLCHoklch(46.24% 0.194 327.8)
XYZxyz(16.2144, 8.3122, 26.3364)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D198E #1A8E19
analogous
#52198E #8D198E #8E1955
triadic
#8D198E #8E8D19 #198E8D
tetradic
#8D198E #8E5219 #1A8E19 #19558E
square
#8D198E #8E5219 #1A8E19 #19558E
split-complementary
#8D198E #558E19 #198E52
monochromatic
#260726 #59105A #8D198E #C122C2 #DD43DE

Accessibility & contrast

On white

7.89
#8D198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D198E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D198E#FFFFFF#000000##FFFFFF
##8D198E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#922F55
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d198e;
/* rgb */ color: rgb(141, 25, 142);
/* oklch */ color: oklch(46.2% 0.194 327.8);
Tailwind
colors: {
  custom: {
    50: '#b266af',
    500: '#8d198e',
    950: '#000000',
  },
}
SCSS
$custom: #8d198e;
$custom-light: #b266af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d198e",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 299.487,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.19445,
    "h": 327.8
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D198E

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

Preview Lab → · Contrast checker → · Palette generator →

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