#8D197D#8D197D

#8D197D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.182 H 334.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8D197D
RGBrgb(141, 25, 125)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 82%, 55%)
CMYKcmyk(0%, 82.3%, 11.3%, 44.7%)
CIE-LABlab(33.65, 56.41, -28.32)
CIE-LCHlch(33.65, 63.12, 333.34°)
OKLaboklab(45.23% 0.1646 -0.0776)
OKLCHoklch(45.23% 0.182 334.8)
XYZxyz(15.0340, 7.8400, 20.1196)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197D #198D29
analogous
#63198D #8D197D #8D1943
triadic
#8D197D #7D8D19 #197D8D
tetradic
#8D197D #8D6319 #198D29 #19438D
square
#8D197D #8D6319 #198D29 #19438D
split-complementary
#8D197D #438D19 #198D63
monochromatic
#250721 #59104F #8D197D #C122AB #DE43C8

Accessibility & contrast

On white

8.18
#8D197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D197D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197D#FFFFFF#000000##FFFFFF
##8D197D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174480
Deuteranopia (green-blind)
#45557A
Tritanopia (blue-blind)
#94254B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197d;
/* rgb */ color: rgb(141, 25, 125);
/* oklch */ color: oklch(45.2% 0.182 334.8);
Tailwind
colors: {
  custom: {
    50: '#b266a3',
    500: '#8d197d',
    950: '#000000',
  },
}
SCSS
$custom: #8d197d;
$custom-light: #b266a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197d",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 308.276,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.18196,
    "h": 334.8
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#8D197D
secondary
#43BF54
accent
#ED543B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D197D

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

Preview Lab → · Contrast checker → · Palette generator →

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