#8D4792#8D4792

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

Color values

HEX#8D4792
RGBrgb(141, 71, 146)
HSLhsl(296, 35%, 43%)
HSVhsv(296, 51%, 57%)
CMYKcmyk(3.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(41.60, 41.09, -28.74)
CIE-LCHlch(41.60, 50.14, 325.03°)
OKLaboklab(51.36% 0.1123 -0.0792)
OKLCHoklch(51.36% 0.137 324.8)
XYZxyz(18.4256, 12.2454, 28.5816)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4792 #4C9247
analogous
#674792 #8D4792 #924771
triadic
#8D4792 #928D47 #47928D
tetradic
#8D4792 #926747 #4C9247 #477192
square
#8D4792 #926747 #4C9247 #477192
split-complementary
#8D4792 #719247 #479267
monochromatic
#3D1F40 #653369 #8D4792 #AE63B3 #C38CC7

Accessibility & contrast

On white

6.09
#8D4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8D4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4792
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4792#FFFFFF#000000##FFFFFF
##8D47921.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#536590
Tritanopia (blue-blind)
#905066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d4792;
/* rgb */ color: rgb(141, 71, 146);
/* oklch */ color: oklch(51.4% 0.137 324.8);
Tailwind
colors: {
  custom: {
    50: '#b07db2',
    500: '#8d4792',
    950: '#000000',
  },
}
SCSS
$custom: #8d4792;
$custom-light: #b07db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4792",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 296,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51364,
    "c": 0.13735,
    "h": 324.8
  },
  "luminance": 0.12245
}

Semantic roles & 50–950 ramp

primary
#8D4792
secondary
#85B382
accent
#CB5D64
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4792

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

Preview Lab → · Contrast checker → · Palette generator →

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