#8D197C#8D197C

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

Color values

HEX#8D197C
RGBrgb(141, 25, 124)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 82%, 55%)
CMYKcmyk(0%, 82.3%, 12.1%, 44.7%)
CIE-LABlab(33.59, 56.26, -27.77)
CIE-LCHlch(33.59, 62.74, 333.72°)
OKLaboklab(45.17% 0.1646 -0.076)
OKLCHoklch(45.17% 0.181 335.2)
XYZxyz(14.9704, 7.8146, 19.7848)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197C #198D2A
analogous
#64198D #8D197C #8D1942
triadic
#8D197C #7C8D19 #197C8D
tetradic
#8D197C #8D6419 #198D2A #19428D
square
#8D197C #8D6419 #198D2A #19428D
split-complementary
#8D197C #428D19 #198D64
monochromatic
#250721 #59104E #8D197C #C122AA #DE43C7

Accessibility & contrast

On white

8.19
#8D197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8D197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D197C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197C#FFFFFF#000000##FFFFFF
##8D197C1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447F
Deuteranopia (green-blind)
#455579
Tritanopia (blue-blind)
#94244A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197c;
/* rgb */ color: rgb(141, 25, 124);
/* oklch */ color: oklch(45.2% 0.181 335.2);
Tailwind
colors: {
  custom: {
    50: '#b266a2',
    500: '#8d197c',
    950: '#000000',
  },
}
SCSS
$custom: #8d197c;
$custom-light: #b266a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197c",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 308.793,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.18125,
    "h": 335.2
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#8D197C
secondary
#43BF55
accent
#ED553B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D197C

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

Preview Lab → · Contrast checker → · Palette generator →

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