#8D20A1#8D20A1

#8D20A1 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 47.9% C 0.203 H 320.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8D20A1
RGBrgb(141, 32, 161)
HSLhsl(291, 67%, 38%)
HSVhsv(291, 80%, 63%)
CMYKcmyk(12.4%, 80.1%, 0%, 36.9%)
CIE-LABlab(36.50, 60.49, -45.91)
CIE-LCHlch(36.50, 75.94, 322.80°)
OKLaboklab(47.95% 0.1575 -0.1288)
OKLCHoklch(47.95% 0.203 320.7)
XYZxyz(17.9333, 9.2699, 34.5560)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20A1 #34A120
analogous
#4D20A1 #8D20A1 #A12074
triadic
#8D20A1 #A18D20 #20A18D
tetradic
#8D20A1 #A14D20 #34A120 #2074A1
square
#8D20A1 #A14D20 #34A120 #2074A1
split-complementary
#8D20A1 #74A120 #20A14D
monochromatic
#340C3B #60166E #8D20A1 #BA2AD4 #CB5DDF

Accessibility & contrast

On white

7.36
#8D20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8D20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D20A1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20A1#FFFFFF#000000##FFFFFF
##8D20A11.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#8E3C61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d20a1;
/* rgb */ color: rgb(141, 32, 161);
/* oklch */ color: oklch(47.9% 0.203 320.7);
Tailwind
colors: {
  custom: {
    50: '#b26abd',
    500: '#8d20a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d20a1;
$custom-light: #b26abd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20a1",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 290.698,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.20342,
    "h": 320.7
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#8D20A1
secondary
#6AC35A
accent
#EA3E59
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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