#8D2AAB#8D2AAB

#8D2AAB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.4% C 0.202 H 316.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D2AAB
RGBrgb(141, 42, 171)
HSLhsl(286, 61%, 42%)
HSVhsv(286, 75%, 67%)
CMYKcmyk(17.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(38.30, 59.11, -49.00)
CIE-LCHlch(38.30, 76.78, 320.34°)
OKLaboklab(49.44% 0.1476 -0.1379)
OKLCHoklch(49.44% 0.202 316.9)
XYZxyz(19.1621, 10.2597, 39.4911)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AAB #48AB2A
analogous
#4D2AAB #8D2AAB #AB2A88
triadic
#8D2AAB #AB8D2A #2AAB8D
tetradic
#8D2AAB #AB4D2A #48AB2A #2A88AB
square
#8D2AAB #AB4D2A #48AB2A #2A88AB
split-complementary
#8D2AAB #88AB2A #2AAB4D
monochromatic
#3C1249 #641E7A #8D2AAB #AF42D1 #C473DD

Accessibility & contrast

On white

6.88
#8D2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D2AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AAB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AAB#FFFFFF#000000##FFFFFF
##8D2AAB1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#2C5DA8
Tritanopia (blue-blind)
#8B4669
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2aab;
/* rgb */ color: rgb(141, 42, 171);
/* oklch */ color: oklch(49.4% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#b26ec5',
    500: '#8d2aab',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aab;
$custom-light: #b26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aab",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 286.047,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.20204,
    "h": 316.9
  },
  "luminance": 0.10259
}

Semantic roles & 50–950 ramp

primary
#8D2AAB
secondary
#81C46D
accent
#E44469
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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