#8D197B#8D197B

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

Color values

HEX#8D197B
RGBrgb(141, 25, 123)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 82%, 55%)
CMYKcmyk(0%, 82.3%, 12.8%, 44.7%)
CIE-LABlab(33.54, 56.11, -27.23)
CIE-LCHlch(33.54, 62.37, 334.11°)
OKLaboklab(45.11% 0.1645 -0.0744)
OKLCHoklch(45.11% 0.181 335.7)
XYZxyz(14.9075, 7.7894, 19.4534)
Luminance0.0779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D197B #198D2B
analogous
#65198D #8D197B #8D1941
triadic
#8D197B #7B8D19 #197B8D
tetradic
#8D197B #8D6519 #198D2B #19418D
square
#8D197B #8D6519 #198D2B #19418D
split-complementary
#8D197B #418D19 #198D65
monochromatic
#250720 #59104E #8D197B #C122A8 #DE43C6

Accessibility & contrast

On white

8.21
#8D197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D197B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D197B#FFFFFF#000000##FFFFFF
##8D197B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#465578
Tritanopia (blue-blind)
#94244A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d197b;
/* rgb */ color: rgb(141, 25, 123);
/* oklch */ color: oklch(45.1% 0.181 335.7);
Tailwind
colors: {
  custom: {
    50: '#b266a1',
    500: '#8d197b',
    950: '#000000',
  },
}
SCSS
$custom: #8d197b;
$custom-light: #b266a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d197b",
  "rgb": {
    "r": 141,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 309.31,
    "s": 69.88,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45114,
    "c": 0.18055,
    "h": 335.7
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#8D197B
secondary
#43BF56
accent
#ED573B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8D197B

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

Preview Lab → · Contrast checker → · Palette generator →

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