#8D2AB1#8D2AB1

#8D2AB1 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.207 H 315.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB1
RGBrgb(141, 42, 177)
HSLhsl(284, 62%, 43%)
HSVhsv(284, 76%, 69%)
CMYKcmyk(20.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(38.71, 60.30, -51.91)
CIE-LCHlch(38.71, 79.57, 319.27°)
OKLaboklab(49.86% 0.1468 -0.1465)
OKLCHoklch(49.86% 0.207 315.1)
XYZxyz(19.7470, 10.4937, 42.5717)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB1 #4EB12A
analogous
#492AB1 #8D2AB1 #B12A91
triadic
#8D2AB1 #B18D2A #2AB18D
tetradic
#8D2AB1 #B1492A #4EB12A #2A91B1
square
#8D2AB1 #B1492A #4EB12A #2A91B1
split-complementary
#8D2AB1 #91B12A #2AB149
monochromatic
#3E134E #661E80 #8D2AB1 #AD45D3 #C377DF

Accessibility & contrast

On white

6.78
#8D2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8D2AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB1
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB1#FFFFFF#000000##FFFFFF
##8D2AB11.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#245EAE
Tritanopia (blue-blind)
#8A486C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2ab1;
/* rgb */ color: rgb(141, 42, 177);
/* oklch */ color: oklch(49.9% 0.207 315.1);
Tailwind
colors: {
  custom: {
    50: '#b36fc9',
    500: '#8d2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab1;
$custom-light: #b36fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab1",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 284,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.20737,
    "h": 315.1
  },
  "luminance": 0.10493
}

Semantic roles & 50–950 ramp

primary
#8D2AB1
secondary
#87C670
accent
#E5436E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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