#8D278F#8D278F

#8D278F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.181 H 327.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8D278F
RGBrgb(141, 39, 143)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(1.4%, 72.7%, 0%, 43.9%)
CIE-LABlab(36.17, 54.98, -35.48)
CIE-LCHlch(36.17, 65.44, 327.17°)
OKLaboklab(47.36% 0.1524 -0.0984)
OKLCHoklch(47.36% 0.181 327.2)
XYZxyz(16.6677, 9.0981, 26.8595)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D278F #298F27
analogous
#59278F #8D278F #8F275D
triadic
#8D278F #8F8D27 #278F8D
tetradic
#8D278F #8F5927 #298F27 #275D8F
square
#8D278F #8F5927 #298F27 #275D8F
split-complementary
#8D278F #5D8F27 #278F59
monochromatic
#2E0D2F #5E1A5F #8D278F #BC34BF #D15DD3

Accessibility & contrast

On white

7.45
#8D278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8D278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D278F
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D278F#FFFFFF#000000##FFFFFF
##8D278F1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#415A8C
Tritanopia (blue-blind)
#913759
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d278f;
/* rgb */ color: rgb(141, 39, 143);
/* oklch */ color: oklch(47.4% 0.181 327.2);
Tailwind
colors: {
  custom: {
    50: '#b26cb0',
    500: '#8d278f',
    950: '#000000',
  },
}
SCSS
$custom: #8d278f;
$custom-light: #b26cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d278f",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 298.846,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47358,
    "c": 0.18141,
    "h": 327.2
  },
  "luminance": 0.09097
}

Semantic roles & 50–950 ramp

primary
#8D278F
secondary
#5BB85A
accent
#E0474A
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D278F

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

Preview Lab → · Contrast checker → · Palette generator →

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