#8D3D8A#8D3D8A

#8D3D8A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.5% C 0.146 H 329.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D3D8A
RGBrgb(141, 61, 138)
HSLhsl(302, 40%, 40%)
HSVhsv(302, 57%, 55%)
CMYKcmyk(0%, 56.7%, 2.1%, 44.7%)
CIE-LABlab(39.30, 44.66, -27.48)
CIE-LCHlch(39.30, 52.44, 328.39°)
OKLaboklab(49.54% 0.1254 -0.0754)
OKLCHoklch(49.54% 0.146 329)
XYZxyz(17.2405, 10.8363, 25.2234)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3D8A #3D8D40
analogous
#683D8D #8D3D8A #8D3D62
triadic
#8D3D8A #8A8D3D #3D8A8D
tetradic
#8D3D8A #8D683D #3D8D40 #3D628D
square
#8D3D8A #8D683D #3D8D40 #3D628D
split-complementary
#8D3D8A #628D3D #3D8D68
monochromatic
#381836 #622B60 #8D3D8A #B453B1 #C77DC4

Accessibility & contrast

On white

6.63
#8D3D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D3D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3D8A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3D8A#FFFFFF#000000##FFFFFF
##8D3D8A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#506088
Tritanopia (blue-blind)
#92455E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d3d8a;
/* rgb */ color: rgb(141, 61, 138);
/* oklch */ color: oklch(49.5% 0.146 329.0);
Tailwind
colors: {
  custom: {
    50: '#b177ac',
    500: '#8d3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d3d8a;
$custom-light: #b177ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3d8a",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 302.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.14635,
    "h": 329
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#8D3D8A
secondary
#75B177
accent
#CF5D58
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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