#8D2AB6#8D2AB6

#8D2AB6 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.212 H 313.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB6
RGBrgb(141, 42, 182)
HSLhsl(282, 63%, 44%)
HSVhsv(282, 77%, 71%)
CMYKcmyk(22.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(39.06, 61.30, -54.31)
CIE-LCHlch(39.06, 81.90, 318.46°)
OKLaboklab(50.22% 0.146 -0.1535)
OKLCHoklch(50.22% 0.212 313.6)
XYZxyz(20.2545, 10.6967, 45.2446)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB6 #53B62A
analogous
#472AB6 #8D2AB6 #B62A99
triadic
#8D2AB6 #B68D2A #2AB68D
tetradic
#8D2AB6 #B6472A #53B62A #2A99B6
square
#8D2AB6 #B6472A #53B62A #2A99B6
split-complementary
#8D2AB6 #99B62A #2AB647
monochromatic
#401353 #661F84 #8D2AB6 #AC48D5 #C27AE0

Accessibility & contrast

On white

6.69
#8D2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D2AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB6
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB6#FFFFFF#000000##FFFFFF
##8D2AB61.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#1B5EB3
Tritanopia (blue-blind)
#894B6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2ab6;
/* rgb */ color: rgb(141, 42, 182);
/* oklch */ color: oklch(50.2% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#b36fcd',
    500: '#8d2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab6;
$custom-light: #b36fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab6",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 282.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.21182,
    "h": 313.6
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#8D2AB6
secondary
#8CC873
accent
#E64272
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #8D2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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