#8D3E87#8D3E87

#8D3E87 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 49.5% C 0.142 H 330.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D3E87
RGBrgb(141, 62, 135)
HSLhsl(305, 39%, 40%)
HSVhsv(305, 56%, 55%)
CMYKcmyk(0%, 56%, 4.3%, 44.7%)
CIE-LABlab(39.34, 43.62, -25.59)
CIE-LCHlch(39.34, 50.57, 329.60°)
OKLaboklab(49.52% 0.1236 -0.07)
OKLCHoklch(49.52% 0.142 330.5)
XYZxyz(17.0802, 10.8583, 24.1132)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3E87 #3E8D44
analogous
#6C3E8D #8D3E87 #8D3E60
triadic
#8D3E87 #878D3E #3E878D
tetradic
#8D3E87 #8D6C3E #3E8D44 #3E608D
square
#8D3E87 #8D6C3E #3E8D44 #3E608D
split-complementary
#8D3E87 #608D3E #3E8D6C
monochromatic
#381936 #622B5E #8D3E87 #B454AD #C77FC1

Accessibility & contrast

On white

6.62
#8D3E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D3E87
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3E87#FFFFFF#000000##FFFFFF
##8D3E871.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#526185
Tritanopia (blue-blind)
#92455C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d3e87;
/* rgb */ color: rgb(141, 62, 135);
/* oklch */ color: oklch(49.5% 0.142 330.5);
Tailwind
colors: {
  custom: {
    50: '#b077aa',
    500: '#8d3e87',
    950: '#000000',
  },
}
SCSS
$custom: #8d3e87;
$custom-light: #b077aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3e87",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 304.557,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49522,
    "c": 0.14202,
    "h": 330.5
  },
  "luminance": 0.10857
}

Semantic roles & 50–950 ramp

primary
#8D3E87
secondary
#76B17B
accent
#CF6259
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8D3E87

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

Preview Lab → · Contrast checker → · Palette generator →

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