#8D277D#8D277D

#8D277D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.167 H 335.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8D277D
RGBrgb(141, 39, 125)
HSLhsl(309, 57%, 35%)
HSVhsv(309, 72%, 55%)
CMYKcmyk(0%, 72.3%, 11.3%, 44.7%)
CIE-LABlab(35.19, 51.99, -25.89)
CIE-LCHlch(35.19, 58.08, 333.53°)
OKLaboklab(46.34% 0.1515 -0.0707)
OKLCHoklch(46.34% 0.167 335)
XYZxyz(15.4119, 8.5958, 20.2455)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277D #278D37
analogous
#6A278D #8D277D #8D274A
triadic
#8D277D #7D8D27 #277D8D
tetradic
#8D277D #8D6A27 #278D37 #274A8D
square
#8D277D #8D6A27 #278D37 #274A8D
split-complementary
#8D277D #4A8D27 #278D6A
monochromatic
#2D0C28 #5D1A52 #8D277D #BD34A7 #D25CC0

Accessibility & contrast

On white

7.72
#8D277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D277D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277D#FFFFFF#000000##FFFFFF
##8D277D1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#942F4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d277d;
/* rgb */ color: rgb(141, 39, 125);
/* oklch */ color: oklch(46.3% 0.167 335.0);
Tailwind
colors: {
  custom: {
    50: '#b26ba3',
    500: '#8d277d',
    950: '#000000',
  },
}
SCSS
$custom: #8d277d;
$custom-light: #b26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277d",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 309.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46337,
    "c": 0.16721,
    "h": 335
  },
  "luminance": 0.08594
}

Semantic roles & 50–950 ramp

primary
#8D277D
secondary
#59B767
accent
#E06048
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D277D

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

Preview Lab → · Contrast checker → · Palette generator →

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