#8C197D#8C197D

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

Color values

HEX#8C197D
RGBrgb(140, 25, 125)
HSLhsl(308, 70%, 32%)
HSVhsv(308, 82%, 55%)
CMYKcmyk(0%, 82.1%, 10.7%, 45.1%)
CIE-LABlab(33.46, 56.19, -28.62)
CIE-LCHlch(33.46, 63.06, 333.01°)
OKLaboklab(45.06% 0.1636 -0.0785)
OKLCHoklch(45.06% 0.181 334.4)
XYZxyz(14.8647, 7.7527, 20.1116)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C197D #198C28
analogous
#62198C #8C197D #8C1944
triadic
#8C197D #7D8C19 #197D8C
tetradic
#8C197D #8C6219 #198C28 #19448C
square
#8C197D #8C6219 #198C28 #19448C
split-complementary
#8C197D #448C19 #198C62
monochromatic
#240620 #58104F #8C197D #C022AB #DD42C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C197D#FFFFFF#000000##FFFFFF
##8C197D1.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)
#164480
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#93254B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c197d;
/* rgb */ color: rgb(140, 25, 125);
/* oklch */ color: oklch(45.1% 0.181 334.4);
Tailwind
colors: {
  custom: {
    50: '#b166a3',
    500: '#8c197d',
    950: '#000000',
  },
}
SCSS
$custom: #8c197d;
$custom-light: #b166a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c197d",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 307.826,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.18143,
    "h": 334.4
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#8C197D
secondary
#43BE53
accent
#ED523B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C197D

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

Preview Lab → · Contrast checker → · Palette generator →

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