#8D27A9#8D27A9

#8D27A9 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.203 H 317.8°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8D27A9
RGBrgb(141, 39, 169)
HSLhsl(287, 63%, 41%)
HSVhsv(287, 77%, 66%)
CMYKcmyk(16.6%, 76.9%, 0%, 33.7%)
CIE-LABlab(37.81, 59.77, -48.61)
CIE-LCHlch(37.81, 77.04, 320.88°)
OKLaboklab(49.04% 0.1506 -0.1368)
OKLCHoklch(49.04% 0.203 317.8)
XYZxyz(18.8704, 9.9792, 38.4606)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27A9 #43A927
analogous
#4C27A9 #8D27A9 #A92784
triadic
#8D27A9 #A98D27 #27A98D
tetradic
#8D27A9 #A94C27 #43A927 #2784A9
square
#8D27A9 #A94C27 #43A927 #2784A9
split-complementary
#8D27A9 #84A927 #27A94C
monochromatic
#3A1046 #641C77 #8D27A9 #B13BD2 #C56DDD

Accessibility & contrast

On white

7.01
#8D27A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D27A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D27A9
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27A9#FFFFFF#000000##FFFFFF
##8D27A91.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#2C5CA6
Tritanopia (blue-blind)
#8C4367
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d27a9;
/* rgb */ color: rgb(141, 39, 169);
/* oklch */ color: oklch(49.0% 0.203 317.8);
Tailwind
colors: {
  custom: {
    50: '#b26dc3',
    500: '#8d27a9',
    950: '#000000',
  },
}
SCSS
$custom: #8d27a9;
$custom-light: #b26dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27a9",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 287.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.20341,
    "h": 317.8
  },
  "luminance": 0.09978
}

Semantic roles & 50–950 ramp

primary
#8D27A9
secondary
#7CC468
accent
#E64265
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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