#8D2ABC#8D2ABC

#8D2ABC is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.217 H 311.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D2ABC
RGBrgb(141, 42, 188)
HSLhsl(281, 63%, 45%)
HSVhsv(281, 78%, 74%)
CMYKcmyk(25%, 77.7%, 0%, 26.3%)
CIE-LABlab(39.50, 62.52, -57.14)
CIE-LCHlch(39.50, 84.70, 317.57°)
OKLaboklab(50.66% 0.1449 -0.1618)
OKLCHoklch(50.66% 0.217 311.8)
XYZxyz(20.8879, 10.9501, 48.5804)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2ABC #59BC2A
analogous
#442ABC #8D2ABC #BC2AA2
triadic
#8D2ABC #BC8D2A #2ABC8D
tetradic
#8D2ABC #BC442A #59BC2A #2AA2BC
square
#8D2ABC #BC442A #59BC2A #2AA2BC
split-complementary
#8D2ABC #A2BC2A #2ABC44
monochromatic
#421458 #671F8A #8D2ABC #AA4CD7 #C27EE2

Accessibility & contrast

On white

6.58
#8D2ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D2ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2ABC
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2ABC#FFFFFF#000000##FFFFFF
##8D2ABC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#874D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2abc;
/* rgb */ color: rgb(141, 42, 188);
/* oklch */ color: oklch(50.7% 0.217 311.8);
Tailwind
colors: {
  custom: {
    50: '#b36fd1',
    500: '#8d2abc',
    950: '#000000',
  },
}
SCSS
$custom: #8d2abc;
$custom-light: #b36fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2abc",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 280.685,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.2172,
    "h": 311.8
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#8D2ABC
secondary
#92CB77
accent
#E74176
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D2ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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