#8B29BB#8B29BB

#8B29BB is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.217 H 311.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8B29BB
RGBrgb(139, 41, 187)
HSLhsl(280, 64%, 45%)
HSVhsv(280, 78%, 73%)
CMYKcmyk(25.7%, 78.1%, 0%, 26.7%)
CIE-LABlab(39.01, 62.30, -57.36)
CIE-LCHlch(39.01, 84.69, 317.37°)
OKLaboklab(50.23% 0.1433 -0.1625)
OKLCHoklch(50.23% 0.217 311.4)
XYZxyz(20.4083, 10.6632, 47.9872)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29BB #59BB29
analogous
#4229BB #8B29BB #BB29A2
triadic
#8B29BB #BB8B29 #29BB8B
tetradic
#8B29BB #BB4229 #59BB29 #29A2BB
square
#8B29BB #BB4229 #59BB29 #29A2BB
split-complementary
#8B29BB #A2BB29 #29BB42
monochromatic
#401357 #661E89 #8B29BB #A94AD7 #C17CE2

Accessibility & contrast

On white

6.70
#8B29BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8B29BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B29BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29BB#FFFFFF#000000##FFFFFF
##8B29BB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#854D72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8b29bb;
/* rgb */ color: rgb(139, 41, 187);
/* oklch */ color: oklch(50.2% 0.217 311.4);
Tailwind
colors: {
  custom: {
    50: '#b26ed0',
    500: '#8b29bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b29bb;
$custom-light: #b26ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29bb",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 280.274,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.21668,
    "h": 311.4
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8B29BB
secondary
#91CB75
accent
#E74177
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8B29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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