#8D198D#8D198D

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

Color values

HEX#8D198D
RGBrgb(141, 25, 141)
HSLhsl(300, 70%, 33%)
HSVhsv(300, 82%, 55%)
CMYKcmyk(0%, 82.3%, 0%, 44.7%)
CIE-LABlab(34.56, 58.93, -36.81)
CIE-LCHlch(34.56, 69.48, 328.01°)
OKLaboklab(46.17% 0.1646 -0.1022)
OKLCHoklch(46.17% 0.194 328.2)
XYZxyz(16.1397, 8.2823, 25.9427)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D198D #198D19
analogous
#53198D #8D198D #8D1953
triadic
#8D198D #8D8D19 #198D8D
tetradic
#8D198D #8D5319 #198D19 #19538D
square
#8D198D #8D5319 #198D19 #19538D
split-complementary
#8D198D #538D19 #198D53
monochromatic
#250725 #591059 #8D198D #C122C1 #DE43DE

Accessibility & contrast

On white

7.91
#8D198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D198D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D198D#FFFFFF#000000##FFFFFF
##8D198D1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#922E54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d198d;
/* rgb */ color: rgb(141, 25, 141);
/* oklch */ color: oklch(46.2% 0.194 328.2);
Tailwind
colors: {
  custom: {
    50: '#b266af',
    500: '#8d198d',
    950: '#000000',
  },
}
SCSS
$custom: #8d198d;
$custom-light: #b266af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d198d",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.19368,
    "h": 328.2
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#8D198D
secondary
#43BF43
accent
#ED3B3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D198D

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

Preview Lab → · Contrast checker → · Palette generator →

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