#8D3C8A#8D3C8A

#8D3C8A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.4% C 0.148 H 329.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D3C8A
RGBrgb(141, 60, 138)
HSLhsl(302, 40%, 39%)
HSVhsv(302, 57%, 55%)
CMYKcmyk(0%, 57.4%, 2.1%, 44.7%)
CIE-LABlab(39.12, 45.15, -27.76)
CIE-LCHlch(39.12, 53.00, 328.41°)
OKLaboklab(49.41% 0.1268 -0.0763)
OKLCHoklch(49.41% 0.148 329)
XYZxyz(17.1876, 10.7305, 25.2057)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3C8A #3C8D3F
analogous
#683C8D #8D3C8A #8D3C62
triadic
#8D3C8A #8A8D3C #3C8A8D
tetradic
#8D3C8A #8D683C #3C8D3F #3C628D
square
#8D3C8A #8D683C #3C8D3F #3C628D
split-complementary
#8D3C8A #628D3C #3C8D68
monochromatic
#371736 #622A60 #8D3C8A #B551B1 #C77CC5

Accessibility & contrast

On white

6.68
#8D3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3C8A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3C8A#FFFFFF#000000##FFFFFF
##8D3C8A1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#92455D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3c8a;
/* rgb */ color: rgb(141, 60, 138);
/* oklch */ color: oklch(49.4% 0.148 329.0);
Tailwind
colors: {
  custom: {
    50: '#b176ac',
    500: '#8d3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d3c8a;
$custom-light: #b176ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3c8a",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 302.222,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4941,
    "c": 0.14796,
    "h": 329
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#8D3C8A
secondary
#74B176
accent
#D05C58
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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