#8D3D83#8D3D83

#8D3D83 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.2% C 0.140 H 332.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D3D83
RGBrgb(141, 61, 131)
HSLhsl(308, 40%, 40%)
HSVhsv(308, 57%, 55%)
CMYKcmyk(0%, 56.7%, 7.1%, 44.7%)
CIE-LABlab(38.97, 43.40, -23.71)
CIE-LCHlch(38.97, 49.45, 331.34°)
OKLaboklab(49.19% 0.1243 -0.0647)
OKLCHoklch(49.19% 0.14 332.5)
XYZxyz(16.7500, 10.6401, 22.6398)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3D83 #3D8D47
analogous
#6F3D8D #8D3D83 #8D3D5B
triadic
#8D3D83 #838D3D #3D838D
tetradic
#8D3D83 #8D6F3D #3D8D47 #3D5B8D
square
#8D3D83 #8D6F3D #3D8D47 #3D5B8D
split-complementary
#8D3D83 #5B8D3D #3D8D6F
monochromatic
#381834 #622B5B #8D3D83 #B453A8 #C77DBE

Accessibility & contrast

On white

6.71
#8D3D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D3D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3D83
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3D83#FFFFFF#000000##FFFFFF
##8D3D831.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5485
Deuteranopia (green-blind)
#536081
Tritanopia (blue-blind)
#93435A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d3d83;
/* rgb */ color: rgb(141, 61, 131);
/* oklch */ color: oklch(49.2% 0.140 332.5);
Tailwind
colors: {
  custom: {
    50: '#b177a7',
    500: '#8d3d83',
    950: '#000000',
  },
}
SCSS
$custom: #8d3d83;
$custom-light: #b177a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3d83",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 131
  },
  "hsl": {
    "h": 307.5,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.14013,
    "h": 332.5
  },
  "luminance": 0.10639
}

Semantic roles & 50–950 ramp

primary
#8D3D83
secondary
#75B17C
accent
#CF6758
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11090F
muted
#807B7F

Preview Lab

Preview with #8D3D83

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

Preview Lab → · Contrast checker → · Palette generator →

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