#8D27AF#8D27AF

#8D27AF is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 315.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D27AF
RGBrgb(141, 39, 175)
HSLhsl(285, 64%, 42%)
HSVhsv(285, 78%, 69%)
CMYKcmyk(19.4%, 77.7%, 0%, 31.4%)
CIE-LABlab(38.22, 60.94, -51.53)
CIE-LCHlch(38.22, 79.80, 319.78°)
OKLaboklab(49.46% 0.1497 -0.1453)
OKLCHoklch(49.46% 0.209 315.9)
XYZxyz(19.4467, 10.2097, 41.4954)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D27AF #49AF27
analogous
#4927AF #8D27AF #AF278D
triadic
#8D27AF #AF8D27 #27AF8D
tetradic
#8D27AF #AF4927 #49AF27 #278DAF
square
#8D27AF #AF4927 #49AF27 #278DAF
split-complementary
#8D27AF #8DAF27 #27AF49
monochromatic
#3C114B #651C7D #8D27AF #AF3FD4 #C471DF

Accessibility & contrast

On white

6.90
#8D27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D27AF
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D27AF#FFFFFF#000000##FFFFFF
##8D27AF1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#245DAC
Tritanopia (blue-blind)
#8B466A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d27af;
/* rgb */ color: rgb(141, 39, 175);
/* oklch */ color: oklch(49.5% 0.209 315.9);
Tailwind
colors: {
  custom: {
    50: '#b36dc8',
    500: '#8d27af',
    950: '#000000',
  },
}
SCSS
$custom: #8d27af;
$custom-light: #b36dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d27af",
  "rgb": {
    "r": 141,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 285,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.20864,
    "h": 315.9
  },
  "luminance": 0.10209
}

Semantic roles & 50–950 ramp

primary
#8D27AF
secondary
#82C66B
accent
#E7416B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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