#8D20A9#8D20A9

#8D20A9 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.210 H 318.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8D20A9
RGBrgb(141, 32, 169)
HSLhsl(288, 68%, 39%)
HSVhsv(288, 81%, 66%)
CMYKcmyk(16.6%, 81.1%, 0%, 33.7%)
CIE-LABlab(37.04, 61.97, -49.84)
CIE-LCHlch(37.04, 79.53, 321.19°)
OKLaboklab(48.51% 0.1563 -0.1403)
OKLCHoklch(48.51% 0.21 318.1)
XYZxyz(18.6614, 9.5612, 38.3909)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20A9 #3CA920
analogous
#4820A9 #8D20A9 #A92081
triadic
#8D20A9 #A98D20 #20A98D
tetradic
#8D20A9 #A94820 #3CA920 #2081A9
square
#8D20A9 #A94820 #3CA920 #2081A9
split-complementary
#8D20A9 #81A920 #20A948
monochromatic
#370D42 #621676 #8D20A9 #B52FD8 #C762E1

Accessibility & contrast

On white

7.21
#8D20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D20A9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20A9#FFFFFF#000000##FFFFFF
##8D20A91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#8C4066
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d20a9;
/* rgb */ color: rgb(141, 32, 169);
/* oklch */ color: oklch(48.5% 0.210 318.1);
Tailwind
colors: {
  custom: {
    50: '#b36ac3',
    500: '#8d20a9',
    950: '#000000',
  },
}
SCSS
$custom: #8d20a9;
$custom-light: #b36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20a9",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 287.737,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.21003,
    "h": 318.1
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#8D20A9
secondary
#74C65F
accent
#EB3D60
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8D20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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