#8D3D9B#8D3D9B

#8D3D9B is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.5% C 0.162 H 321.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8D3D9B
RGBrgb(141, 61, 155)
HSLhsl(291, 44%, 42%)
HSVhsv(291, 61%, 61%)
CMYKcmyk(9%, 60.6%, 0%, 39.2%)
CIE-LABlab(40.19, 47.91, -36.39)
CIE-LCHlch(40.19, 60.17, 322.78°)
OKLaboklab(50.48% 0.127 -0.1012)
OKLCHoklch(50.48% 0.162 321.5)
XYZxyz(18.5690, 11.3677, 32.2201)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3D9B #4B9B3D
analogous
#5E3D9B #8D3D9B #9B3D7A
triadic
#8D3D9B #9B8D3D #3D9B8D
tetradic
#8D3D9B #9B5E3D #4B9B3D #3D7A9B
square
#8D3D9B #9B5E3D #4B9B3D #3D7A9B
split-complementary
#8D3D9B #7A9B3D #3D9B5E
monochromatic
#3D1A43 #652C6F #8D3D9B #AE58BD #C384CF

Accessibility & contrast

On white

6.42
#8D3D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D3D9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3D9B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3D9B#FFFFFF#000000##FFFFFF
##8D3D9B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29599E
Deuteranopia (green-blind)
#476299
Tritanopia (blue-blind)
#8E4B66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d3d9b;
/* rgb */ color: rgb(141, 61, 155);
/* oklch */ color: oklch(50.5% 0.162 321.5);
Tailwind
colors: {
  custom: {
    50: '#b177b9',
    500: '#8d3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #8d3d9b;
$custom-light: #b177b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3d9b",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 291.064,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50481,
    "c": 0.16241,
    "h": 321.5
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#8D3D9B
secondary
#84B97B
accent
#D35567
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8D3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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