#8D278D#8D278D

#8D278D is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.180 H 328.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8D278D
RGBrgb(141, 39, 141)
HSLhsl(300, 57%, 35%)
HSVhsv(300, 72%, 55%)
CMYKcmyk(0%, 72.3%, 0%, 44.7%)
CIE-LABlab(36.06, 54.64, -34.43)
CIE-LCHlch(36.06, 64.58, 327.78°)
OKLaboklab(47.24% 0.1524 -0.0954)
OKLCHoklch(47.24% 0.18 328)
XYZxyz(16.5175, 9.0380, 26.0687)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D278D #278D27
analogous
#5A278D #8D278D #8D275A
triadic
#8D278D #8D8D27 #278D8D
tetradic
#8D278D #8D5A27 #278D27 #275A8D
square
#8D278D #8D5A27 #278D27 #275A8D
split-complementary
#8D278D #5A8D27 #278D5A
monochromatic
#2D0C2D #5D1A5D #8D278D #BD34BD #D25CD2

Accessibility & contrast

On white

7.48
#8D278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8D278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D278D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D278D#FFFFFF#000000##FFFFFF
##8D278D1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#913657
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d278d;
/* rgb */ color: rgb(141, 39, 141);
/* oklch */ color: oklch(47.2% 0.180 328.0);
Tailwind
colors: {
  custom: {
    50: '#b26caf',
    500: '#8d278d',
    950: '#000000',
  },
}
SCSS
$custom: #8d278d;
$custom-light: #b26caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d278d",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47238,
    "c": 0.17978,
    "h": 328
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#8D278D
secondary
#59B759
accent
#E04848
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D278D

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

Preview Lab → · Contrast checker → · Palette generator →

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