#8D2AA9#8D2AA9

#8D2AA9 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.3% C 0.200 H 317.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D2AA9
RGBrgb(141, 42, 169)
HSLhsl(287, 60%, 41%)
HSVhsv(287, 75%, 66%)
CMYKcmyk(16.6%, 75.1%, 0%, 33.7%)
CIE-LABlab(38.17, 58.72, -48.02)
CIE-LCHlch(38.17, 75.86, 320.72°)
OKLaboklab(49.3% 0.1479 -0.1351)
OKLCHoklch(49.3% 0.2 317.6)
XYZxyz(18.9729, 10.1841, 38.4948)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA9 #46A92A
analogous
#4E2AA9 #8D2AA9 #A92A86
triadic
#8D2AA9 #A98D2A #2AA98D
tetradic
#8D2AA9 #A94E2A #46A92A #2A86A9
square
#8D2AA9 #A94E2A #46A92A #2A86A9
split-complementary
#8D2AA9 #86A92A #2AA94E
monochromatic
#3B1247 #641E78 #8D2AA9 #B041D0 #C472DC

Accessibility & contrast

On white

6.92
#8D2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AA9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA9#FFFFFF#000000##FFFFFF
##8D2AA91.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#2E5DA6
Tritanopia (blue-blind)
#8C4568
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2aa9;
/* rgb */ color: rgb(141, 42, 169);
/* oklch */ color: oklch(49.3% 0.200 317.6);
Tailwind
colors: {
  custom: {
    50: '#b26ec3',
    500: '#8d2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa9;
$custom-light: #b26ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa9",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 286.772,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49302,
    "c": 0.20027,
    "h": 317.6
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#8D2AA9
secondary
#7FC36C
accent
#E34467
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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