#8D2782#8D2782

#8D2782 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.171 H 332.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D2782
RGBrgb(141, 39, 130)
HSLhsl(306, 57%, 35%)
HSVhsv(306, 72%, 55%)
CMYKcmyk(0%, 72.3%, 7.8%, 44.7%)
CIE-LABlab(35.45, 52.79, -28.59)
CIE-LCHlch(35.45, 60.04, 331.56°)
OKLaboklab(46.61% 0.152 -0.0785)
OKLCHoklch(46.61% 0.171 332.7)
XYZxyz(15.7393, 8.7268, 21.9702)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2782 #278D32
analogous
#65278D #8D2782 #8D274F
triadic
#8D2782 #828D27 #27828D
tetradic
#8D2782 #8D6527 #278D32 #274F8D
square
#8D2782 #8D6527 #278D32 #274F8D
split-complementary
#8D2782 #4F8D27 #278D65
monochromatic
#2D0C2A #5D1A56 #8D2782 #BD34AE #D25CC5

Accessibility & contrast

On white

7.65
#8D2782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D2782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2782
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2782#FFFFFF#000000##FFFFFF
##8D27821.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#933151
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d2782;
/* rgb */ color: rgb(141, 39, 130);
/* oklch */ color: oklch(46.6% 0.171 332.7);
Tailwind
colors: {
  custom: {
    50: '#b26ba6',
    500: '#8d2782',
    950: '#000000',
  },
}
SCSS
$custom: #8d2782;
$custom-light: #b26ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2782",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 130
  },
  "hsl": {
    "h": 306.471,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46608,
    "c": 0.17102,
    "h": 332.7
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#8D2782
secondary
#59B763
accent
#E05848
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D2782

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

Preview Lab → · Contrast checker → · Palette generator →

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