#8D3F86#8D3F86

#8D3F86 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.6% C 0.139 H 331.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#8D3F86
RGBrgb(141, 63, 134)
HSLhsl(305, 38%, 40%)
HSVhsv(305, 55%, 55%)
CMYKcmyk(0%, 55.3%, 5%, 44.7%)
CIE-LABlab(39.48, 42.94, -24.76)
CIE-LCHlch(39.48, 49.56, 330.03°)
OKLaboklab(49.61% 0.122 -0.0677)
OKLCHoklch(49.61% 0.139 331)
XYZxyz(17.0650, 10.9401, 23.7625)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F86 #3F8D46
analogous
#6D3F8D #8D3F86 #8D3F5F
triadic
#8D3F86 #868D3F #3F868D
tetradic
#8D3F86 #8D6D3F #3F8D46 #3F5F8D
square
#8D3F86 #8D6D3F #3F8D46 #3F5F8D
split-complementary
#8D3F86 #5F8D3F #3F8D6D
monochromatic
#381936 #632C5E #8D3F86 #B356AB #C680C0

Accessibility & contrast

On white

6.59
#8D3F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D3F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3F86
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F86#FFFFFF#000000##FFFFFF
##8D3F861.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#536184
Tritanopia (blue-blind)
#92465C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d3f86;
/* rgb */ color: rgb(141, 63, 134);
/* oklch */ color: oklch(49.6% 0.139 331.0);
Tailwind
colors: {
  custom: {
    50: '#b078a9',
    500: '#8d3f86',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f86;
$custom-light: #b078a9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f86",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 134
  },
  "hsl": {
    "h": 305.385,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.13947,
    "h": 331
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#8D3F86
secondary
#77B17C
accent
#CE645A
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3F86

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

Preview Lab → · Contrast checker → · Palette generator →

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