#8D2AAC#8D2AAC

#8D2AAC is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.203 H 316.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D2AAC
RGBrgb(141, 42, 172)
HSLhsl(286, 61%, 42%)
HSVhsv(286, 76%, 67%)
CMYKcmyk(18%, 75.6%, 0%, 32.5%)
CIE-LABlab(38.37, 59.31, -49.49)
CIE-LCHlch(38.37, 77.24, 320.16°)
OKLaboklab(49.51% 0.1475 -0.1394)
OKLCHoklch(49.51% 0.203 316.6)
XYZxyz(19.2577, 10.2980, 39.9950)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AAC #49AC2A
analogous
#4C2AAC #8D2AAC #AC2A8A
triadic
#8D2AAC #AC8D2A #2AAC8D
tetradic
#8D2AAC #AC4C2A #49AC2A #2A8AAC
square
#8D2AAC #AC4C2A #49AC2A #2A8AAC
split-complementary
#8D2AAC #8AAC2A #2AAC4C
monochromatic
#3C124A #651E7B #8D2AAC #AF42D1 #C473DD

Accessibility & contrast

On white

6.86
#8D2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8D2AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AAC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AAC#FFFFFF#000000##FFFFFF
##8D2AAC1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2aac;
/* rgb */ color: rgb(141, 42, 172);
/* oklch */ color: oklch(49.5% 0.203 316.6);
Tailwind
colors: {
  custom: {
    50: '#b26ec5',
    500: '#8d2aac',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aac;
$custom-light: #b26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aac",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 285.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49508,
    "c": 0.20292,
    "h": 316.6
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#8D2AAC
secondary
#82C46D
accent
#E4446A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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