#8D27AE#8D27AE

#8D27AE is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.208 H 316.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D27AE
RGBrgb(141, 39, 174)
HSLhsl(285, 63%, 42%)
HSVhsv(285, 78%, 68%)
CMYKcmyk(19%, 77.6%, 0%, 31.8%)
CIE-LABlab(38.15, 60.74, -51.04)
CIE-LCHlch(38.15, 79.34, 319.96°)
OKLaboklab(49.39% 0.1499 -0.1439)
OKLCHoklch(49.39% 0.208 316.2)
XYZxyz(19.3488, 10.1705, 40.9801)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27AE #48AE27
analogous
#4927AE #8D27AE #AE278C
triadic
#8D27AE #AE8D27 #27AE8D
tetradic
#8D27AE #AE4927 #48AE27 #278CAE
square
#8D27AE #AE4927 #48AE27 #278CAE
split-complementary
#8D27AE #8CAE27 #27AE49
monochromatic
#3C114A #641C7C #8D27AE #AF3ED4 #C470DF

Accessibility & contrast

On white

6.92
#8D27AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D27AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D27AE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27AE#FFFFFF#000000##FFFFFF
##8D27AE1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#255DAB
Tritanopia (blue-blind)
#8B466A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d27ae;
/* rgb */ color: rgb(141, 39, 174);
/* oklch */ color: oklch(49.4% 0.208 316.2);
Tailwind
colors: {
  custom: {
    50: '#b36dc7',
    500: '#8d27ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d27ae;
$custom-light: #b36dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27ae",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 285.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49392,
    "c": 0.20776,
    "h": 316.2
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#8D27AE
secondary
#81C66B
accent
#E6416A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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