#8D3487#8D3487

#8D3487 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.3% C 0.158 H 330.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D3487
RGBrgb(141, 52, 135)
HSLhsl(304, 46%, 38%)
HSVhsv(304, 63%, 55%)
CMYKcmyk(0%, 63.1%, 4.3%, 44.7%)
CIE-LABlab(37.61, 48.34, -28.30)
CIE-LCHlch(37.61, 56.02, 329.65°)
OKLaboklab(48.25% 0.1371 -0.0777)
OKLCHoklch(48.25% 0.158 330.4)
XYZxyz(16.5856, 9.8691, 23.9483)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3487 #348D3A
analogous
#66348D #8D3487 #8D345A
triadic
#8D3487 #878D34 #34878D
tetradic
#8D3487 #8D6634 #348D3A #345A8D
square
#8D3487 #8D6634 #348D3A #345A8D
split-complementary
#8D3487 #5A8D34 #348D66
monochromatic
#341331 #60245C #8D3487 #BA44B2 #CB71C5

Accessibility & contrast

On white

7.06
#8D3487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D3487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D3487
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3487#FFFFFF#000000##FFFFFF
##8D34871.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#923D58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d3487;
/* rgb */ color: rgb(141, 52, 135);
/* oklch */ color: oklch(48.3% 0.158 330.4);
Tailwind
colors: {
  custom: {
    50: '#b172aa',
    500: '#8d3487',
    950: '#000000',
  },
}
SCSS
$custom: #8d3487;
$custom-light: #b172aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3487",
  "rgb": {
    "r": 141,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 304.045,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48253,
    "c": 0.15759,
    "h": 330.4
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#8D3487
secondary
#6AB36F
accent
#D65B52
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D3487

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

Preview Lab → · Contrast checker → · Palette generator →

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