#8D2AB3#8D2AB3

#8D2AB3 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.209 H 314.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8D2AB3
RGBrgb(141, 42, 179)
HSLhsl(283, 62%, 43%)
HSVhsv(283, 77%, 70%)
CMYKcmyk(21.2%, 76.5%, 0%, 29.8%)
CIE-LABlab(38.85, 60.70, -52.87)
CIE-LCHlch(38.85, 80.50, 318.94°)
OKLaboklab(50% 0.1465 -0.1493)
OKLCHoklch(50% 0.209 314.5)
XYZxyz(19.9478, 10.5740, 43.6293)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AB3 #50B32A
analogous
#492AB3 #8D2AB3 #B32A94
triadic
#8D2AB3 #B38D2A #2AB38D
tetradic
#8D2AB3 #B3492A #50B32A #2A94B3
square
#8D2AB3 #B3492A #50B32A #2A94B3
split-complementary
#8D2AB3 #94B32A #2AB349
monochromatic
#3F1350 #661E81 #8D2AB3 #AD46D4 #C378DF

Accessibility & contrast

On white

6.74
#8D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8D2AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AB3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AB3#FFFFFF#000000##FFFFFF
##8D2AB31.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#215EB0
Tritanopia (blue-blind)
#89496D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d2ab3;
/* rgb */ color: rgb(141, 42, 179);
/* oklch */ color: oklch(50.0% 0.209 314.5);
Tailwind
colors: {
  custom: {
    50: '#b36fca',
    500: '#8d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ab3;
$custom-light: #b36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ab3",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 283.358,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.20914,
    "h": 314.5
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#8D2AB3
secondary
#89C772
accent
#E54370
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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