#8D2A86#8D2A86

#8D2A86 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 330.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D2A86
RGBrgb(141, 42, 134)
HSLhsl(304, 54%, 36%)
HSVhsv(304, 70%, 55%)
CMYKcmyk(0%, 70.2%, 5%, 44.7%)
CIE-LABlab(36.06, 52.33, -30.11)
CIE-LCHlch(36.06, 60.37, 330.08°)
OKLaboklab(47.12% 0.149 -0.0829)
OKLCHoklch(47.12% 0.17 330.9)
XYZxyz(16.1155, 9.0411, 23.4460)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2A86 #2A8D31
analogous
#622A8D #8D2A86 #8D2A54
triadic
#8D2A86 #868D2A #2A868D
tetradic
#8D2A86 #8D622A #2A8D31 #2A548D
square
#8D2A86 #8D622A #2A8D31 #2A548D
split-complementary
#8D2A86 #548D2A #2A8D62
monochromatic
#2F0E2C #5E1C59 #8D2A86 #BC38B3 #D061C8

Accessibility & contrast

On white

7.48
#8D2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2A86
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2A86#FFFFFF#000000##FFFFFF
##8D2A861.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C89
Deuteranopia (green-blind)
#475A83
Tritanopia (blue-blind)
#933554
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2a86;
/* rgb */ color: rgb(141, 42, 134);
/* oklch */ color: oklch(47.1% 0.170 330.9);
Tailwind
colors: {
  custom: {
    50: '#b16da9',
    500: '#8d2a86',
    950: '#000000',
  },
}
SCSS
$custom: #8d2a86;
$custom-light: #b16da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2a86",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 304.242,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47117,
    "c": 0.17046,
    "h": 330.9
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#8D2A86
secondary
#5DB663
accent
#DD554A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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