#8D29B1#8D29B1

#8D29B1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.208 H 315.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8D29B1
RGBrgb(141, 41, 177)
HSLhsl(284, 62%, 43%)
HSVhsv(284, 77%, 69%)
CMYKcmyk(20.3%, 76.8%, 0%, 30.6%)
CIE-LABlab(38.59, 60.65, -52.11)
CIE-LCHlch(38.59, 79.96, 319.33°)
OKLaboklab(49.77% 0.1477 -0.147)
OKLCHoklch(49.77% 0.208 315.1)
XYZxyz(19.7120, 10.4237, 42.5601)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D29B1 #4DB129
analogous
#4929B1 #8D29B1 #B12991
triadic
#8D29B1 #B18D29 #29B18D
tetradic
#8D29B1 #B14929 #4DB129 #2991B1
square
#8D29B1 #B14929 #4DB129 #2991B1
split-complementary
#8D29B1 #91B129 #29B149
monochromatic
#3E124E #651D7F #8D29B1 #AD44D4 #C375DF

Accessibility & contrast

On white

6.81
#8D29B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8D29B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D29B1
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D29B1#FFFFFF#000000##FFFFFF
##8D29B11.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#235DAE
Tritanopia (blue-blind)
#8A486C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8d29b1;
/* rgb */ color: rgb(141, 41, 177);
/* oklch */ color: oklch(49.8% 0.208 315.1);
Tailwind
colors: {
  custom: {
    50: '#b36ec9',
    500: '#8d29b1',
    950: '#000000',
  },
}
SCSS
$custom: #8d29b1;
$custom-light: #b36ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d29b1",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 284.118,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49773,
    "c": 0.20839,
    "h": 315.1
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#8D29B1
secondary
#86C76F
accent
#E5426E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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