#8B29B6#8B29B6

#8B29B6 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.212 H 312.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8B29B6
RGBrgb(139, 41, 182)
HSLhsl(282, 63%, 44%)
HSVhsv(282, 77%, 71%)
CMYKcmyk(23.6%, 77.5%, 0%, 28.6%)
CIE-LABlab(38.64, 61.28, -55.00)
CIE-LCHlch(38.64, 82.34, 318.09°)
OKLaboklab(49.86% 0.1443 -0.1556)
OKLCHoklch(49.86% 0.212 312.8)
XYZxyz(19.8824, 10.4528, 45.2171)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B29B6 #54B629
analogous
#4429B6 #8B29B6 #B6299A
triadic
#8B29B6 #B68B29 #29B68B
tetradic
#8B29B6 #B64429 #54B629 #299AB6
square
#8B29B6 #B64429 #54B629 #299AB6
split-complementary
#8B29B6 #9AB629 #29B644
monochromatic
#3F1252 #651E84 #8B29B6 #AA47D5 #C179E1

Accessibility & contrast

On white

6.80
#8B29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8B29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B29B6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B29B6#FFFFFF#000000##FFFFFF
##8B29B61.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#864B6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b29b6;
/* rgb */ color: rgb(139, 41, 182);
/* oklch */ color: oklch(49.9% 0.212 312.8);
Tailwind
colors: {
  custom: {
    50: '#b26ecd',
    500: '#8b29b6',
    950: '#000000',
  },
}
SCSS
$custom: #8b29b6;
$custom-light: #b26ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b29b6",
  "rgb": {
    "r": 139,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 281.702,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.21218,
    "h": 312.8
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#8B29B6
secondary
#8DC972
accent
#E64274
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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