#8D2AB4#8D2AB4

#8D2AB4 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.210 H 314.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB4
RGBrgb(141, 42, 180)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 77%, 71%)
CMYKcmyk(21.7%, 76.7%, 0%, 29.4%)
CIE-LABlab(38.92, 60.90, -53.35)
CIE-LCHlch(38.92, 80.96, 318.78°)
OKLaboklab(50.07% 0.1463 -0.1507)
OKLCHoklch(50.07% 0.21 314.2)
XYZxyz(20.0493, 10.6146, 44.1639)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB4 #51B42A
analogous
#482AB4 #8D2AB4 #B42A96
triadic
#8D2AB4 #B48D2A #2AB48D
tetradic
#8D2AB4 #B4482A #51B42A #2A96B4
square
#8D2AB4 #B4482A #51B42A #2A96B4
split-complementary
#8D2AB4 #96B42A #2AB448
monochromatic
#3F1351 #661E82 #8D2AB4 #AC47D4 #C379E0

Accessibility & contrast

On white

6.72
#8D2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8D2AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB4#FFFFFF#000000##FFFFFF
##8D2AB41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#1F5EB1
Tritanopia (blue-blind)
#894A6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2ab4;
/* rgb */ color: rgb(141, 42, 180);
/* oklch */ color: oklch(50.1% 0.210 314.2);
Tailwind
colors: {
  custom: {
    50: '#b36fcb',
    500: '#8d2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab4;
$custom-light: #b36fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab4",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 283.043,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.21003,
    "h": 314.2
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#8D2AB4
secondary
#8AC872
accent
#E54371
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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