#8D2AB5#8D2AB5

#8D2AB5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.211 H 313.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB5
RGBrgb(141, 42, 181)
HSLhsl(283, 62%, 44%)
HSVhsv(283, 77%, 71%)
CMYKcmyk(22.1%, 76.8%, 0%, 29%)
CIE-LABlab(38.99, 61.10, -53.83)
CIE-LCHlch(38.99, 81.43, 318.62°)
OKLaboklab(50.15% 0.1461 -0.1521)
OKLCHoklch(50.15% 0.211 313.9)
XYZxyz(20.1515, 10.6555, 44.7023)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB5 #52B52A
analogous
#472AB5 #8D2AB5 #B52A97
triadic
#8D2AB5 #B58D2A #2AB58D
tetradic
#8D2AB5 #B5472A #52B52A #2A97B5
square
#8D2AB5 #B5472A #52B52A #2A97B5
split-complementary
#8D2AB5 #97B52A #2AB547
monochromatic
#401352 #661E83 #8D2AB5 #AC48D4 #C279E0

Accessibility & contrast

On white

6.71
#8D2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8D2AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB5
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB5#FFFFFF#000000##FFFFFF
##8D2AB51.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#1D5EB2
Tritanopia (blue-blind)
#894A6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2ab5;
/* rgb */ color: rgb(141, 42, 181);
/* oklch */ color: oklch(50.1% 0.211 313.9);
Tailwind
colors: {
  custom: {
    50: '#b36fcc',
    500: '#8d2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab5;
$custom-light: #b36fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab5",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 282.734,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.21093,
    "h": 313.9
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#8D2AB5
secondary
#8BC873
accent
#E54271
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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