#8D2AA6#8D2AA6

#8D2AA6 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.198 H 318.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D2AA6
RGBrgb(141, 42, 166)
HSLhsl(288, 60%, 41%)
HSVhsv(288, 75%, 65%)
CMYKcmyk(15.1%, 74.7%, 0%, 34.9%)
CIE-LABlab(37.97, 58.14, -46.54)
CIE-LCHlch(37.97, 74.47, 321.32°)
OKLaboklab(49.1% 0.1482 -0.1307)
OKLCHoklch(49.1% 0.198 318.6)
XYZxyz(18.6945, 10.0727, 37.0285)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2AA6 #43A62A
analogous
#4F2AA6 #8D2AA6 #A62A81
triadic
#8D2AA6 #A68D2A #2AA68D
tetradic
#8D2AA6 #A64F2A #43A62A #2A81A6
square
#8D2AA6 #A64F2A #43A62A #2A81A6
split-complementary
#8D2AA6 #81A62A #2AA64F
monochromatic
#3A1144 #641E75 #8D2AA6 #B13FCE #C570DB

Accessibility & contrast

On white

6.97
#8D2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D2AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2AA6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2AA6#FFFFFF#000000##FFFFFF
##8D2AA61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#315DA3
Tritanopia (blue-blind)
#8D4366
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d2aa6;
/* rgb */ color: rgb(141, 42, 166);
/* oklch */ color: oklch(49.1% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#b26ec1',
    500: '#8d2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2aa6;
$custom-light: #b26ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2aa6",
  "rgb": {
    "r": 141,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 287.903,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.19762,
    "h": 318.6
  },
  "luminance": 0.10072
}

Semantic roles & 50–950 ramp

primary
#8D2AA6
secondary
#7CC26A
accent
#E34565
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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