#8D29BA#8D29BA

#8D29BA is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.216 H 312.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D29BA
RGBrgb(141, 41, 186)
HSLhsl(281, 64%, 45%)
HSVhsv(281, 78%, 73%)
CMYKcmyk(24.2%, 78%, 0%, 27.1%)
CIE-LABlab(39.23, 62.46, -56.39)
CIE-LCHlch(39.23, 84.15, 317.92°)
OKLaboklab(50.43% 0.1461 -0.1596)
OKLCHoklch(50.43% 0.216 312.5)
XYZxyz(20.6387, 10.7944, 47.4412)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D29BA #56BA29
analogous
#4429BA #8D29BA #BA299F
triadic
#8D29BA #BA8D29 #29BA8D
tetradic
#8D29BA #BA4429 #56BA29 #299FBA
square
#8D29BA #BA4429 #56BA29 #299FBA
split-complementary
#8D29BA #9FBA29 #29BA44
monochromatic
#411356 #671E88 #8D29BA #AB49D7 #C27BE2

Accessibility & contrast

On white

6.65
#8D29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D29BA
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D29BA#FFFFFF#000000##FFFFFF
##8D29BA1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#105EB7
Tritanopia (blue-blind)
#884C71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d29ba;
/* rgb */ color: rgb(141, 41, 186);
/* oklch */ color: oklch(50.4% 0.216 312.5);
Tailwind
colors: {
  custom: {
    50: '#b36fd0',
    500: '#8d29ba',
    950: '#000000',
  },
}
SCSS
$custom: #8d29ba;
$custom-light: #b36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d29ba",
  "rgb": {
    "r": 141,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 281.379,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.21639,
    "h": 312.5
  },
  "luminance": 0.10794
}

Semantic roles & 50–950 ramp

primary
#8D29BA
secondary
#8FCA75
accent
#E74174
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8D29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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