#8D278A#8D278A

#8D278A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.177 H 329.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8D278A
RGBrgb(141, 39, 138)
HSLhsl(302, 57%, 35%)
HSVhsv(302, 72%, 55%)
CMYKcmyk(0%, 72.3%, 2.1%, 44.7%)
CIE-LABlab(35.89, 54.12, -32.86)
CIE-LCHlch(35.89, 63.32, 328.74°)
OKLaboklab(47.06% 0.1524 -0.0908)
OKLCHoklch(47.06% 0.177 329.2)
XYZxyz(16.2973, 8.9499, 24.9090)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D278A #278D2A
analogous
#5D278D #8D278A #8D2757
triadic
#8D278A #8A8D27 #278A8D
tetradic
#8D278A #8D5D27 #278D2A #27578D
square
#8D278A #8D5D27 #278D2A #27578D
split-complementary
#8D278A #578D27 #278D5D
monochromatic
#2D0C2C #5D1A5B #8D278A #BD34B9 #D25CCF

Accessibility & contrast

On white

7.53
#8D278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8D278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D278A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D278A#FFFFFF#000000##FFFFFF
##8D278A1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#923556
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d278a;
/* rgb */ color: rgb(141, 39, 138);
/* oklch */ color: oklch(47.1% 0.177 329.2);
Tailwind
colors: {
  custom: {
    50: '#b26cac',
    500: '#8d278a',
    950: '#000000',
  },
}
SCSS
$custom: #8d278a;
$custom-light: #b26cac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d278a",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 301.765,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.17735,
    "h": 329.2
  },
  "luminance": 0.08949
}

Semantic roles & 50–950 ramp

primary
#8D278A
secondary
#59B75B
accent
#E04C48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D278A

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

Preview Lab → · Contrast checker → · Palette generator →

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