#8D27B5#8D27B5

#8D27B5 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.214 H 314.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8D27B5
RGBrgb(141, 39, 181)
HSLhsl(283, 65%, 43%)
HSVhsv(283, 78%, 71%)
CMYKcmyk(22.1%, 78.5%, 0%, 29%)
CIE-LABlab(38.64, 62.12, -54.40)
CIE-LCHlch(38.64, 82.58, 318.79°)
OKLaboklab(49.9% 0.1487 -0.1538)
OKLCHoklch(49.9% 0.214 314)
XYZxyz(20.0491, 10.4506, 44.6682)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27B5 #4FB527
analogous
#4627B5 #8D27B5 #B52796
triadic
#8D27B5 #B58D27 #27B58D
tetradic
#8D27B5 #B54627 #4FB527 #2796B5
square
#8D27B5 #B54627 #4FB527 #2796B5
split-complementary
#8D27B5 #96B527 #27B546
monochromatic
#3F1150 #661C83 #8D27B5 #AD43D6 #C375E1

Accessibility & contrast

On white

6.80
#8D27B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8D27B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D27B5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27B5#FFFFFF#000000##FFFFFF
##8D27B51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#89496E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d27b5;
/* rgb */ color: rgb(141, 39, 181);
/* oklch */ color: oklch(49.9% 0.214 314.0);
Tailwind
colors: {
  custom: {
    50: '#b36dcc',
    500: '#8d27b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d27b5;
$custom-light: #b36dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27b5",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 181
  },
  "hsl": {
    "h": 283.099,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.21389,
    "h": 314
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#8D27B5
secondary
#88C96F
accent
#E8406F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D27B5

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

Preview Lab → · Contrast checker → · Palette generator →

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