#8C197B#8C197B

#8C197B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 335.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8C197B
RGBrgb(140, 25, 123)
HSLhsl(309, 70%, 32%)
HSVhsv(309, 82%, 55%)
CMYKcmyk(0%, 82.1%, 12.1%, 45.1%)
CIE-LABlab(33.35, 55.88, -27.53)
CIE-LCHlch(33.35, 62.30, 333.77°)
OKLaboklab(44.95% 0.1635 -0.0753)
OKLCHoklch(44.95% 0.18 335.3)
XYZxyz(14.7382, 7.7021, 19.4455)
Luminance0.0770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C197B #198C2A
analogous
#64198C #8C197B #8C1941
triadic
#8C197B #7B8C19 #197B8C
tetradic
#8C197B #8C6419 #198C2A #19418C
square
#8C197B #8C6419 #198C2A #19418C
split-complementary
#8C197B #418C19 #198C64
monochromatic
#240620 #58104D #8C197B #C022A9 #DD42C6

Accessibility & contrast

On white

8.27
#8C197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8C197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C197B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C197B#FFFFFF#000000##FFFFFF
##8C197B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#455478
Tritanopia (blue-blind)
#93244A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8c197b;
/* rgb */ color: rgb(140, 25, 123);
/* oklch */ color: oklch(44.9% 0.180 335.3);
Tailwind
colors: {
  custom: {
    50: '#b165a1',
    500: '#8c197b',
    950: '#000000',
  },
}
SCSS
$custom: #8c197b;
$custom-light: #b165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c197b",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 308.87,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44946,
    "c": 0.18002,
    "h": 335.3
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#8C197B
secondary
#43BE55
accent
#ED553B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8C197B

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

Preview Lab → · Contrast checker → · Palette generator →

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