#8D2A87#8D2A87

#8D2A87 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 330.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8D2A87
RGBrgb(141, 42, 135)
HSLhsl(304, 54%, 36%)
HSVhsv(304, 70%, 55%)
CMYKcmyk(0%, 70.2%, 4.3%, 44.7%)
CIE-LABlab(36.12, 52.50, -30.64)
CIE-LCHlch(36.12, 60.79, 329.73°)
OKLaboklab(47.17% 0.149 -0.0844)
OKLCHoklch(47.17% 0.171 330.5)
XYZxyz(16.1856, 9.0691, 23.8150)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A87 #2A8D30
analogous
#612A8D #8D2A87 #8D2A55
triadic
#8D2A87 #878D2A #2A878D
tetradic
#8D2A87 #8D612A #2A8D30 #2A558D
square
#8D2A87 #8D612A #2A8D30 #2A558D
split-complementary
#8D2A87 #558D2A #2A8D61
monochromatic
#2F0E2D #5E1C5A #8D2A87 #BC38B4 #D061C9

Accessibility & contrast

On white

7.46
#8D2A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D2A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2A87
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A87#FFFFFF#000000##FFFFFF
##8D2A871.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#475A84
Tritanopia (blue-blind)
#923655
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2a87;
/* rgb */ color: rgb(141, 42, 135);
/* oklch */ color: oklch(47.2% 0.171 330.5);
Tailwind
colors: {
  custom: {
    50: '#b16daa',
    500: '#8d2a87',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a87;
$custom-light: #b16daa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a87",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 303.636,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47173,
    "c": 0.17127,
    "h": 330.5
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#8D2A87
secondary
#5DB662
accent
#DD534A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2A87

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

Preview Lab → · Contrast checker → · Palette generator →

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