#8D20BB#8D20BB

#8D20BB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.8% C 0.225 H 312.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8D20BB
RGBrgb(141, 32, 187)
HSLhsl(282, 71%, 43%)
HSVhsv(282, 83%, 73%)
CMYKcmyk(24.6%, 82.9%, 0%, 26.7%)
CIE-LABlab(38.35, 65.44, -58.42)
CIE-LCHlch(38.35, 87.72, 318.25°)
OKLaboklab(49.83% 0.1526 -0.1655)
OKLCHoklch(49.83% 0.225 312.7)
XYZxyz(20.4690, 10.2842, 47.9109)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20BB #4EBB20
analogous
#4020BB #8D20BB #BB209B
triadic
#8D20BB #BB8D20 #20BB8D
tetradic
#8D20BB #BB4020 #4EBB20 #209BBB
square
#8D20BB #BB4020 #4EBB20 #209BBB
split-complementary
#8D20BB #9BBB20 #20BB40
monochromatic
#3E0E52 #661787 #8D20BB #AD3BDD #C36FE6

Accessibility & contrast

On white

6.87
#8D20BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D20BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D20BB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20BB#FFFFFF#000000##FFFFFF
##8D20BB1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#884970
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d20bb;
/* rgb */ color: rgb(141, 32, 187);
/* oklch */ color: oklch(49.8% 0.225 312.7);
Tailwind
colors: {
  custom: {
    50: '#b46bd0',
    500: '#8d20bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d20bb;
$custom-light: #b46bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20bb",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 282.194,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49829,
    "c": 0.22514,
    "h": 312.7
  },
  "luminance": 0.10284
}

Semantic roles & 50–950 ramp

primary
#8D20BB
secondary
#87CD6A
accent
#EE3A6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #8D20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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