#8B29BA#8B29BA

#8B29BA is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.2% C 0.216 H 311.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8B29BA
RGBrgb(139, 41, 186)
HSLhsl(281, 64%, 45%)
HSVhsv(281, 78%, 73%)
CMYKcmyk(25.3%, 78%, 0%, 27.1%)
CIE-LABlab(38.93, 62.10, -56.89)
CIE-LCHlch(38.93, 84.22, 317.51°)
OKLaboklab(50.16% 0.1435 -0.1612)
OKLCHoklch(50.16% 0.216 311.7)
XYZxyz(20.3017, 10.6206, 47.4254)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29BA #58BA29
analogous
#4329BA #8B29BA #BA29A1
triadic
#8B29BA #BA8B29 #29BA8B
tetradic
#8B29BA #BA4329 #58BA29 #29A1BA
square
#8B29BA #BA4329 #58BA29 #29A1BA
split-complementary
#8B29BA #A1BA29 #29BA43
monochromatic
#401356 #661E88 #8B29BA #A949D7 #C17BE2

Accessibility & contrast

On white

6.72
#8B29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8B29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B29BA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29BA#FFFFFF#000000##FFFFFF
##8B29BA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#075DB7
Tritanopia (blue-blind)
#854C71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b29ba;
/* rgb */ color: rgb(139, 41, 186);
/* oklch */ color: oklch(50.2% 0.216 311.7);
Tailwind
colors: {
  custom: {
    50: '#b26ed0',
    500: '#8b29ba',
    950: '#000000',
  },
}
SCSS
$custom: #8b29ba;
$custom-light: #b26ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29ba",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 280.552,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.21578,
    "h": 311.7
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#8B29BA
secondary
#90CA75
accent
#E74177
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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