#8D29A2#8D29A2

#8D29A2 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.195 H 320.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8D29A2
RGBrgb(141, 41, 162)
HSLhsl(290, 60%, 40%)
HSVhsv(290, 75%, 64%)
CMYKcmyk(13%, 74.7%, 0%, 36.5%)
CIE-LABlab(37.59, 57.73, -44.76)
CIE-LCHlch(37.59, 73.05, 322.21°)
OKLaboklab(48.74% 0.1495 -0.1255)
OKLCHoklch(48.74% 0.195 320)
XYZxyz(18.2982, 9.8582, 35.1144)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D29A2 #3EA229
analogous
#5129A2 #8D29A2 #A2297A
triadic
#8D29A2 #A28D29 #29A28D
tetradic
#8D29A2 #A25129 #3EA229 #297AA2
square
#8D29A2 #A25129 #3EA229 #297AA2
split-complementary
#8D29A2 #7AA229 #29A251
monochromatic
#381040 #621D71 #8D29A2 #B43BCD #C76CDA

Accessibility & contrast

On white

7.07
#8D29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D29A2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D29A2#FFFFFF#000000##FFFFFF
##8D29A21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#345C9F
Tritanopia (blue-blind)
#8D4164
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d29a2;
/* rgb */ color: rgb(141, 41, 162);
/* oklch */ color: oklch(48.7% 0.195 320.0);
Tailwind
colors: {
  custom: {
    50: '#b26dbe',
    500: '#8d29a2',
    950: '#000000',
  },
}
SCSS
$custom: #8d29a2;
$custom-light: #b26dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d29a2",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 289.587,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.19522,
    "h": 320
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#8D29A2
secondary
#76C067
accent
#E34560
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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