#8C4792#8C4792

#8C4792 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.2% C 0.137 H 324.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8C4792
RGBrgb(140, 71, 146)
HSLhsl(295, 35%, 43%)
HSVhsv(295, 51%, 57%)
CMYKcmyk(4.1%, 51.4%, 0%, 42.7%)
CIE-LABlab(41.47, 40.79, -28.97)
CIE-LCHlch(41.47, 50.03, 324.62°)
OKLaboklab(51.23% 0.111 -0.0798)
OKLCHoklch(51.23% 0.137 324.3)
XYZxyz(18.2563, 12.1581, 28.5737)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4792 #4D9247
analogous
#664792 #8C4792 #924772
triadic
#8C4792 #928C47 #47928C
tetradic
#8C4792 #926647 #4D9247 #477292
square
#8C4792 #926647 #4D9247 #477292
split-complementary
#8C4792 #729247 #479266
monochromatic
#3D1F40 #653369 #8C4792 #AD63B3 #C28CC7

Accessibility & contrast

On white

6.12
#8C4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8C4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4792
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4792#FFFFFF#000000##FFFFFF
##8C47921.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5C95
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#8F5066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c4792;
/* rgb */ color: rgb(140, 71, 146);
/* oklch */ color: oklch(51.2% 0.137 324.3);
Tailwind
colors: {
  custom: {
    50: '#af7db2',
    500: '#8c4792',
    950: '#000000',
  },
}
SCSS
$custom: #8c4792;
$custom-light: #af7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4792",
  "rgb": {
    "r": 140,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 295.2,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.13675,
    "h": 324.3
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#8C4792
secondary
#86B382
accent
#CB5D66
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8C4792

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

Preview Lab → · Contrast checker → · Palette generator →

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