#8D198A#8D198A

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

Color values

HEX#8D198A
RGBrgb(141, 25, 138)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 82%, 55%)
CMYKcmyk(0%, 82.3%, 2.1%, 44.7%)
CIE-LABlab(34.38, 58.44, -35.24)
CIE-LCHlch(34.38, 68.25, 328.91°)
OKLaboklab(45.99% 0.1647 -0.0976)
OKLCHoklch(45.99% 0.191 329.3)
XYZxyz(15.9195, 8.1942, 24.7830)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D198A #198D1C
analogous
#56198D #8D198A #8D1950
triadic
#8D198A #8A8D19 #198A8D
tetradic
#8D198A #8D5619 #198D1C #19508D
square
#8D198A #8D5619 #198D1C #19508D
split-complementary
#8D198A #508D19 #198D56
monochromatic
#250724 #591057 #8D198A #C122BD #DE43DA

Accessibility & contrast

On white

7.96
#8D198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D198A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D198A#FFFFFF#000000##FFFFFF
##8D198A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3E5687
Tritanopia (blue-blind)
#922C52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d198a;
/* rgb */ color: rgb(141, 25, 138);
/* oklch */ color: oklch(46.0% 0.191 329.3);
Tailwind
colors: {
  custom: {
    50: '#b266ac',
    500: '#8d198a',
    950: '#000000',
  },
}
SCSS
$custom: #8d198a;
$custom-light: #b266ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d198a",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 301.552,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45988,
    "c": 0.19143,
    "h": 329.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#8D198A
secondary
#43BF46
accent
#ED403B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D198A

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

Preview Lab → · Contrast checker → · Palette generator →

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