#8D277E#8D277E

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

Color values

HEX#8D277E
RGBrgb(141, 39, 126)
HSLhsl(309, 57%, 35%)
HSVhsv(309, 72%, 55%)
CMYKcmyk(0%, 72.3%, 10.6%, 44.7%)
CIE-LABlab(35.24, 52.15, -26.43)
CIE-LCHlch(35.24, 58.46, 333.12°)
OKLaboklab(46.39% 0.1516 -0.0722)
OKLCHoklch(46.39% 0.168 334.5)
XYZxyz(15.4761, 8.6214, 20.5836)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D277E #278D36
analogous
#69278D #8D277E #8D274B
triadic
#8D277E #7E8D27 #277E8D
tetradic
#8D277E #8D6927 #278D36 #274B8D
square
#8D277E #8D6927 #278D36 #274B8D
split-complementary
#8D277E #4B8D27 #278D69
monochromatic
#2D0C28 #5D1A53 #8D277E #BD34A9 #D25CC1

Accessibility & contrast

On white

7.71
#8D277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D277E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D277E#FFFFFF#000000##FFFFFF
##8D277E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4A587C
Tritanopia (blue-blind)
#942F4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d277e;
/* rgb */ color: rgb(141, 39, 126);
/* oklch */ color: oklch(46.4% 0.168 334.5);
Tailwind
colors: {
  custom: {
    50: '#b26ba3',
    500: '#8d277e',
    950: '#000000',
  },
}
SCSS
$custom: #8d277e;
$custom-light: #b26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d277e",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 308.824,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.16796,
    "h": 334.5
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#8D277E
secondary
#59B767
accent
#E05E48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D277E

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

Preview Lab → · Contrast checker → · Palette generator →

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