#8D279A#8D279A

#8D279A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 322.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8D279A
RGBrgb(141, 39, 154)
HSLhsl(293, 60%, 38%)
HSVhsv(293, 75%, 60%)
CMYKcmyk(8.4%, 74.7%, 0%, 39.6%)
CIE-LABlab(36.83, 56.95, -41.14)
CIE-LCHlch(36.83, 70.25, 324.16°)
OKLaboklab(48.04% 0.1521 -0.1149)
OKLCHoklch(48.04% 0.191 322.9)
XYZxyz(17.5422, 9.4479, 31.4652)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D279A #349A27
analogous
#53279A #8D279A #9A276E
triadic
#8D279A #9A8D27 #279A8D
tetradic
#8D279A #9A5327 #349A27 #276E9A
square
#8D279A #9A5327 #349A27 #276E9A
split-complementary
#8D279A #6E9A27 #279A53
monochromatic
#340E38 #601B69 #8D279A #BA33CB #CB64D8

Accessibility & contrast

On white

7.27
#8D279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D279A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D279A#FFFFFF#000000##FFFFFF
##8D279A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#8F3C5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d279a;
/* rgb */ color: rgb(141, 39, 154);
/* oklch */ color: oklch(48.0% 0.191 322.9);
Tailwind
colors: {
  custom: {
    50: '#b26cb8',
    500: '#8d279a',
    950: '#000000',
  },
}
SCSS
$custom: #8d279a;
$custom-light: #b26cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d279a",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 293.217,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48042,
    "c": 0.19057,
    "h": 322.9
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#8D279A
secondary
#6ABD5F
accent
#E34557
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8D279A

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

Preview Lab → · Contrast checker → · Palette generator →

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