#8D198C#8D198C

#8D198C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.193 H 328.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8D198C
RGBrgb(141, 25, 140)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 82%, 55%)
CMYKcmyk(0%, 82.3%, 0.7%, 44.7%)
CIE-LABlab(34.50, 58.77, -36.29)
CIE-LCHlch(34.50, 69.07, 328.30°)
OKLaboklab(46.11% 0.1646 -0.1006)
OKLCHoklch(46.11% 0.193 328.6)
XYZxyz(16.0656, 8.2527, 25.5526)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D198C #198D1A
analogous
#54198D #8D198C #8D1952
triadic
#8D198C #8C8D19 #198C8D
tetradic
#8D198C #8D5419 #198D1A #19528D
square
#8D198C #8D5419 #198D1A #19528D
split-complementary
#8D198C #528D19 #198D54
monochromatic
#250725 #591058 #8D198C #C122C0 #DE43DC

Accessibility & contrast

On white

7.92
#8D198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D198C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D198C#FFFFFF#000000##FFFFFF
##8D198C1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#922E54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d198c;
/* rgb */ color: rgb(141, 25, 140);
/* oklch */ color: oklch(46.1% 0.193 328.6);
Tailwind
colors: {
  custom: {
    50: '#b266ae',
    500: '#8d198c',
    950: '#000000',
  },
}
SCSS
$custom: #8d198c;
$custom-light: #b266ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d198c",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 300.517,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46111,
    "c": 0.19293,
    "h": 328.6
  },
  "luminance": 0.08251
}

Semantic roles & 50–950 ramp

primary
#8D198C
secondary
#43BF44
accent
#ED3D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D198C

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

Preview Lab → · Contrast checker → · Palette generator →

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