#8D198B#8D198B

#8D198B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.192 H 328.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8D198B
RGBrgb(141, 25, 139)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 82%, 55%)
CMYKcmyk(0%, 82.3%, 1.4%, 44.7%)
CIE-LABlab(34.44, 58.60, -35.77)
CIE-LCHlch(34.44, 68.66, 328.60°)
OKLaboklab(46.05% 0.1646 -0.0991)
OKLCHoklch(46.05% 0.192 328.9)
XYZxyz(15.9922, 8.2233, 25.1661)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D198B #198D1B
analogous
#55198D #8D198B #8D1951
triadic
#8D198B #8B8D19 #198B8D
tetradic
#8D198B #8D5519 #198D1B #19518D
square
#8D198B #8D5519 #198D1B #19518D
split-complementary
#8D198B #518D19 #198D55
monochromatic
#250725 #591058 #8D198B #C122BE #DE43DB

Accessibility & contrast

On white

7.94
#8D198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D198B
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D198B#FFFFFF#000000##FFFFFF
##8D198B1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3D5688
Tritanopia (blue-blind)
#922D53
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d198b;
/* rgb */ color: rgb(141, 25, 139);
/* oklch */ color: oklch(46.0% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#b266ad',
    500: '#8d198b',
    950: '#000000',
  },
}
SCSS
$custom: #8d198b;
$custom-light: #b266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8d198b",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 301.034,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46049,
    "c": 0.19218,
    "h": 328.9
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#8D198B
secondary
#43BF45
accent
#ED3E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D198B

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

Preview Lab → · Contrast checker → · Palette generator →

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