#8D197F#8D197F

#8D197F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.183 H 333.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8D197F
RGBrgb(141, 25, 127)
HSLhsl(307, 70%, 33%)
HSVhsv(307, 82%, 55%)
CMYKcmyk(0%, 82.3%, 9.9%, 44.7%)
CIE-LABlab(33.76, 56.71, -29.40)
CIE-LCHlch(33.76, 63.88, 332.60°)
OKLaboklab(45.34% 0.1647 -0.0807)
OKLCHoklch(45.34% 0.183 333.9)
XYZxyz(15.1631, 7.8917, 20.7992)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197F #198D27
analogous
#61198D #8D197F #8D1945
triadic
#8D197F #7F8D19 #197F8D
tetradic
#8D197F #8D6119 #198D27 #19458D
square
#8D197F #8D6119 #198D27 #19458D
split-complementary
#8D197F #458D19 #198D61
monochromatic
#250721 #591050 #8D197F #C122AE #DE43CB

Accessibility & contrast

On white

8.15
#8D197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D197F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197F#FFFFFF#000000##FFFFFF
##8D197F1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#94264C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197f;
/* rgb */ color: rgb(141, 25, 127);
/* oklch */ color: oklch(45.3% 0.183 333.9);
Tailwind
colors: {
  custom: {
    50: '#b266a4',
    500: '#8d197f',
    950: '#000000',
  },
}
SCSS
$custom: #8d197f;
$custom-light: #b266a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197f",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 307.241,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.18338,
    "h": 333.9
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#8D197F
secondary
#43BF52
accent
#ED513B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D197F

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

Preview Lab → · Contrast checker → · Palette generator →

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