#8D278E#8D278E

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

Color values

HEX#8D278E
RGBrgb(141, 39, 142)
HSLhsl(299, 57%, 35%)
HSVhsv(299, 73%, 56%)
CMYKcmyk(0.7%, 72.5%, 0%, 44.3%)
CIE-LABlab(36.11, 54.81, -34.96)
CIE-LCHlch(36.11, 65.01, 327.47°)
OKLaboklab(47.3% 0.1524 -0.0969)
OKLCHoklch(47.3% 0.181 327.6)
XYZxyz(16.5923, 9.0679, 26.4623)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D278E #288E27
analogous
#59278E #8D278E #8E275C
triadic
#8D278E #8E8D27 #278E8D
tetradic
#8D278E #8E5927 #288E27 #275C8E
square
#8D278E #8E5927 #288E27 #275C8E
split-complementary
#8D278E #5C8E27 #278E59
monochromatic
#2E0D2E #5D1A5E #8D278E #BD34BE #D15DD2

Accessibility & contrast

On white

7.46
#8D278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D278E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D278E#FFFFFF#000000##FFFFFF
##8D278E1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D91
Deuteranopia (green-blind)
#415A8B
Tritanopia (blue-blind)
#913758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d278e;
/* rgb */ color: rgb(141, 39, 142);
/* oklch */ color: oklch(47.3% 0.181 327.6);
Tailwind
colors: {
  custom: {
    50: '#b26caf',
    500: '#8d278e',
    950: '#000000',
  },
}
SCSS
$custom: #8d278e;
$custom-light: #b26caf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d278e",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 299.417,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.18059,
    "h": 327.6
  },
  "luminance": 0.09067
}

Semantic roles & 50–950 ramp

primary
#8D278E
secondary
#5AB859
accent
#E04849
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D278E

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

Preview Lab → · Contrast checker → · Palette generator →

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