#8D20B4#8D20B4

#8D20B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.219 H 314.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D20B4
RGBrgb(141, 32, 180)
HSLhsl(284, 70%, 42%)
HSVhsv(284, 82%, 71%)
CMYKcmyk(21.7%, 82.2%, 0%, 29.4%)
CIE-LABlab(37.83, 64.07, -55.12)
CIE-LCHlch(37.83, 84.52, 319.29°)
OKLaboklab(49.3% 0.1542 -0.1558)
OKLCHoklch(49.3% 0.219 314.7)
XYZxyz(19.7379, 9.9918, 44.0601)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20B4 #47B420
analogous
#4320B4 #8D20B4 #B42091
triadic
#8D20B4 #B48D20 #20B48D
tetradic
#8D20B4 #B44320 #47B420 #2091B4
square
#8D20B4 #B44320 #47B420 #2091B4
split-complementary
#8D20B4 #91B420 #20B443
monochromatic
#3C0E4C #641780 #8D20B4 #B036DB #C46AE4

Accessibility & contrast

On white

7.00
#8D20B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8D20B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D20B4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20B4#FFFFFF#000000##FFFFFF
##8D20B41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#125CB1
Tritanopia (blue-blind)
#89456C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d20b4;
/* rgb */ color: rgb(141, 32, 180);
/* oklch */ color: oklch(49.3% 0.219 314.7);
Tailwind
colors: {
  custom: {
    50: '#b36bcb',
    500: '#8d20b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d20b4;
$custom-light: #b36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20b4",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 284.189,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.21923,
    "h": 314.7
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#8D20B4
secondary
#80CA66
accent
#ED3B6A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8D20B4

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

Preview Lab → · Contrast checker → · Palette generator →

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