#8D277F#8D277F

#8D277F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.169 H 334.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8D277F
RGBrgb(141, 39, 127)
HSLhsl(308, 57%, 35%)
HSVhsv(308, 72%, 55%)
CMYKcmyk(0%, 72.3%, 9.9%, 44.7%)
CIE-LABlab(35.30, 52.31, -26.97)
CIE-LCHlch(35.30, 58.85, 332.72°)
OKLaboklab(46.44% 0.1517 -0.0738)
OKLCHoklch(46.44% 0.169 334.1)
XYZxyz(15.5409, 8.6474, 20.9252)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277F #278D35
analogous
#68278D #8D277F #8D274C
triadic
#8D277F #7F8D27 #277F8D
tetradic
#8D277F #8D6827 #278D35 #274C8D
square
#8D277F #8D6827 #278D35 #274C8D
split-complementary
#8D277F #4C8D27 #278D68
monochromatic
#2D0C29 #5D1A54 #8D277F #BD34AA #D25CC2

Accessibility & contrast

On white

7.69
#8D277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8D277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D277F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277F#FFFFFF#000000##FFFFFF
##8D277F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#49587D
Tritanopia (blue-blind)
#943050
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d277f;
/* rgb */ color: rgb(141, 39, 127);
/* oklch */ color: oklch(46.4% 0.169 334.1);
Tailwind
colors: {
  custom: {
    50: '#b26ba4',
    500: '#8d277f',
    950: '#000000',
  },
}
SCSS
$custom: #8d277f;
$custom-light: #b26ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277f",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 308.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.16872,
    "h": 334.1
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#8D277F
secondary
#59B766
accent
#E05D48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D277F

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

Preview Lab → · Contrast checker → · Palette generator →

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