#8D27A4#8D27A4

#8D27A4 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 319.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8D27A4
RGBrgb(141, 39, 164)
HSLhsl(289, 62%, 40%)
HSVhsv(289, 76%, 64%)
CMYKcmyk(14%, 76.2%, 0%, 35.7%)
CIE-LABlab(37.47, 58.81, -46.15)
CIE-LCHlch(37.47, 74.76, 321.88°)
OKLaboklab(48.7% 0.1512 -0.1295)
OKLCHoklch(48.7% 0.199 319.4)
XYZxyz(18.4100, 9.7950, 36.0357)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27A4 #3EA427
analogous
#4F27A4 #8D27A4 #A4277D
triadic
#8D27A4 #A48D27 #27A48D
tetradic
#8D27A4 #A44F27 #3EA427 #277DA4
square
#8D27A4 #A44F27 #3EA427 #277DA4
split-complementary
#8D27A4 #7DA427 #27A44F
monochromatic
#380F41 #621B73 #8D27A4 #B438D0 #C76ADC

Accessibility & contrast

On white

7.10
#8D27A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8D27A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D27A4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27A4#FFFFFF#000000##FFFFFF
##8D27A41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#315CA1
Tritanopia (blue-blind)
#8D4164
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d27a4;
/* rgb */ color: rgb(141, 39, 164);
/* oklch */ color: oklch(48.7% 0.199 319.4);
Tailwind
colors: {
  custom: {
    50: '#b26dc0',
    500: '#8d27a4',
    950: '#000000',
  },
}
SCSS
$custom: #8d27a4;
$custom-light: #b26dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27a4",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 288.96,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48701,
    "c": 0.1991,
    "h": 319.4
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#8D27A4
secondary
#76C265
accent
#E54361
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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