#8D2E84#8D2E84

#8D2E84 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.4% C 0.164 H 331.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8D2E84
RGBrgb(141, 46, 132)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 67%, 55%)
CMYKcmyk(0%, 67.4%, 6.4%, 44.7%)
CIE-LABlab(36.53, 50.40, -28.15)
CIE-LCHlch(36.53, 57.73, 330.82°)
OKLaboklab(47.42% 0.1442 -0.0772)
OKLCHoklch(47.42% 0.164 331.8)
XYZxyz(16.1264, 9.2839, 22.7679)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E84 #2E8D37
analogous
#672E8D #8D2E84 #8D2E55
triadic
#8D2E84 #848D2E #2E848D
tetradic
#8D2E84 #8D672E #2E8D37 #2E558D
square
#8D2E84 #8D672E #2E8D37 #2E558D
split-complementary
#8D2E84 #558D2E #2E8D67
monochromatic
#31102E #5F1F59 #8D2E84 #BB3DAF #CE68C4

Accessibility & contrast

On white

7.35
#8D2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8D2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E84
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E84#FFFFFF#000000##FFFFFF
##8D2E841.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D87
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#933755
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2e84;
/* rgb */ color: rgb(141, 46, 132);
/* oklch */ color: oklch(47.4% 0.164 331.8);
Tailwind
colors: {
  custom: {
    50: '#b16fa8',
    500: '#8d2e84',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e84;
$custom-light: #b16fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e84",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 305.684,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47417,
    "c": 0.1636,
    "h": 331.8
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#8D2E84
secondary
#62B56A
accent
#DA5B4E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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