#8D3F87#8D3F87

#8D3F87 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 49.7% C 0.140 H 330.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D3F87
RGBrgb(141, 63, 135)
HSLhsl(305, 38%, 40%)
HSVhsv(305, 55%, 55%)
CMYKcmyk(0%, 55.3%, 4.3%, 44.7%)
CIE-LABlab(39.53, 43.12, -25.30)
CIE-LCHlch(39.53, 49.99, 329.60°)
OKLaboklab(49.66% 0.1221 -0.0692)
OKLCHoklch(49.66% 0.14 330.5)
XYZxyz(17.1351, 10.9681, 24.1315)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3F87 #3F8D45
analogous
#6C3F8D #8D3F87 #8D3F60
triadic
#8D3F87 #878D3F #3F878D
tetradic
#8D3F87 #8D6C3F #3F8D45 #3F608D
square
#8D3F87 #8D6C3F #3F8D45 #3F608D
split-complementary
#8D3F87 #608D3F #3F8D6C
monochromatic
#381936 #632C5F #8D3F87 #B356AC #C680C1

Accessibility & contrast

On white

6.58
#8D3F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3F87
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3F87#FFFFFF#000000##FFFFFF
##8D3F871.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5689
Deuteranopia (green-blind)
#526185
Tritanopia (blue-blind)
#92465D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d3f87;
/* rgb */ color: rgb(141, 63, 135);
/* oklch */ color: oklch(49.7% 0.140 330.5);
Tailwind
colors: {
  custom: {
    50: '#b078aa',
    500: '#8d3f87',
    950: '#000000',
  },
}
SCSS
$custom: #8d3f87;
$custom-light: #b078aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3f87",
  "rgb": {
    "r": 141,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 304.615,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.49659,
    "c": 0.14037,
    "h": 330.5
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3F87

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

Preview Lab → · Contrast checker → · Palette generator →

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