#8C197F#8C197F

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

Color values

HEX#8C197F
RGBrgb(140, 25, 127)
HSLhsl(307, 70%, 32%)
HSVhsv(307, 82%, 55%)
CMYKcmyk(0%, 82.1%, 9.3%, 45.1%)
CIE-LABlab(33.57, 56.49, -29.70)
CIE-LCHlch(33.57, 63.82, 332.27°)
OKLaboklab(45.17% 0.1637 -0.0816)
OKLCHoklch(45.17% 0.183 333.5)
XYZxyz(14.9937, 7.8044, 20.7913)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C197F #198C26
analogous
#60198C #8C197F #8C1945
triadic
#8C197F #7F8C19 #197F8C
tetradic
#8C197F #8C6019 #198C26 #19458C
square
#8C197F #8C6019 #198C26 #19458C
split-complementary
#8C197F #458C19 #198C60
monochromatic
#240621 #581050 #8C197F #C022AE #DD42CC

Accessibility & contrast

On white

8.20
#8C197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8C197F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C197F#FFFFFF#000000##FFFFFF
##8C197F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134582
Deuteranopia (green-blind)
#43557C
Tritanopia (blue-blind)
#93264C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8c197f;
/* rgb */ color: rgb(140, 25, 127);
/* oklch */ color: oklch(45.2% 0.183 333.5);
Tailwind
colors: {
  custom: {
    50: '#b166a4',
    500: '#8c197f',
    950: '#000000',
  },
}
SCSS
$custom: #8c197f;
$custom-light: #b166a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c197f",
  "rgb": {
    "r": 140,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 306.783,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.18286,
    "h": 333.5
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#8C197F
secondary
#43BE51
accent
#ED4F3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8C197F

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

Preview Lab → · Contrast checker → · Palette generator →

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