#8D197A#8D197A

#8D197A is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.180 H 336.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8D197A
RGBrgb(141, 25, 122)
HSLhsl(310, 70%, 33%)
HSVhsv(310, 82%, 55%)
CMYKcmyk(0%, 82.3%, 13.5%, 44.7%)
CIE-LABlab(33.49, 55.96, -26.68)
CIE-LCHlch(33.49, 62.00, 334.51°)
OKLaboklab(45.06% 0.1644 -0.0729)
OKLCHoklch(45.06% 0.18 336.1)
XYZxyz(14.8453, 7.7645, 19.1255)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197A #198D2C
analogous
#66198D #8D197A #8D1940
triadic
#8D197A #7A8D19 #197A8D
tetradic
#8D197A #8D6619 #198D2C #19408D
square
#8D197A #8D6619 #198D2C #19408D
split-complementary
#8D197A #408D19 #198D66
monochromatic
#250720 #59104D #8D197A #C122A7 #DE43C4

Accessibility & contrast

On white

8.23
#8D197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8D197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D197A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197A#FFFFFF#000000##FFFFFF
##8D197A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447C
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#952349
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197a;
/* rgb */ color: rgb(141, 25, 122);
/* oklch */ color: oklch(45.1% 0.180 336.1);
Tailwind
colors: {
  custom: {
    50: '#b266a1',
    500: '#8d197a',
    950: '#000000',
  },
}
SCSS
$custom: #8d197a;
$custom-light: #b266a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197a",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 309.828,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.17985,
    "h": 336.1
  },
  "luminance": 0.07763
}

Semantic roles & 50–950 ramp

primary
#8D197A
secondary
#43BF57
accent
#ED583B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8D197A

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

Preview Lab → · Contrast checker → · Palette generator →

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