#8D20A8#8D20A8

#8D20A8 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.209 H 318.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D20A8
RGBrgb(141, 32, 168)
HSLhsl(288, 68%, 39%)
HSVhsv(288, 81%, 66%)
CMYKcmyk(16.1%, 81%, 0%, 34.1%)
CIE-LABlab(36.97, 61.78, -49.35)
CIE-LCHlch(36.97, 79.08, 321.38°)
OKLaboklab(48.44% 0.1564 -0.1389)
OKLCHoklch(48.44% 0.209 318.4)
XYZxyz(18.5679, 9.5238, 37.8984)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20A8 #3BA820
analogous
#4920A8 #8D20A8 #A8207F
triadic
#8D20A8 #A88D20 #20A88D
tetradic
#8D20A8 #A84920 #3BA820 #207FA8
square
#8D20A8 #A84920 #3BA820 #207FA8
split-complementary
#8D20A8 #7FA820 #20A849
monochromatic
#370C41 #621675 #8D20A8 #B62ED7 #C861E1

Accessibility & contrast

On white

7.23
#8D20A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D20A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D20A8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20A8#FFFFFF#000000##FFFFFF
##8D20A81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#8C3F65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d20a8;
/* rgb */ color: rgb(141, 32, 168);
/* oklch */ color: oklch(48.4% 0.209 318.4);
Tailwind
colors: {
  custom: {
    50: '#b36ac3',
    500: '#8d20a8',
    950: '#000000',
  },
}
SCSS
$custom: #8d20a8;
$custom-light: #b36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20a8",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 288.088,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.2092,
    "h": 318.4
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#8D20A8
secondary
#73C65E
accent
#EB3D5F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D20A8

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

Preview Lab → · Contrast checker → · Palette generator →

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