#8D27A3#8D27A3

#8D27A3 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.198 H 319.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D27A3
RGBrgb(141, 39, 163)
HSLhsl(289, 61%, 40%)
HSVhsv(289, 76%, 64%)
CMYKcmyk(13.5%, 76.1%, 0%, 36.1%)
CIE-LABlab(37.41, 58.62, -45.65)
CIE-LCHlch(37.41, 74.30, 322.09°)
OKLaboklab(48.63% 0.1513 -0.1281)
OKLCHoklch(48.63% 0.198 319.7)
XYZxyz(18.3200, 9.7590, 35.5619)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27A3 #3DA327
analogous
#4F27A3 #8D27A3 #A3277B
triadic
#8D27A3 #A38D27 #27A38D
tetradic
#8D27A3 #A34F27 #3DA327 #277BA3
square
#8D27A3 #A34F27 #3DA327 #277BA3
split-complementary
#8D27A3 #7BA327 #27A34F
monochromatic
#380F40 #621B72 #8D27A3 #B438CF #C769DB

Accessibility & contrast

On white

7.11
#8D27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8D27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D27A3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27A3#FFFFFF#000000##FFFFFF
##8D27A31.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#325BA0
Tritanopia (blue-blind)
#8D4064
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d27a3;
/* rgb */ color: rgb(141, 39, 163);
/* oklch */ color: oklch(48.6% 0.198 319.7);
Tailwind
colors: {
  custom: {
    50: '#b26dbf',
    500: '#8d27a3',
    950: '#000000',
  },
}
SCSS
$custom: #8d27a3;
$custom-light: #b26dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27a3",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 289.355,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48633,
    "c": 0.19824,
    "h": 319.7
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#8D27A3
secondary
#75C164
accent
#E44360
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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