#8A29B6#8A29B6

#8A29B6 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.212 H 312.4°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A29B6
RGBrgb(138, 41, 182)
HSLhsl(281, 63%, 44%)
HSVhsv(281, 77%, 71%)
CMYKcmyk(24.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(38.49, 61.10, -55.25)
CIE-LCHlch(38.49, 82.37, 317.88°)
OKLaboklab(49.72% 0.143 -0.1564)
OKLCHoklch(49.72% 0.212 312.4)
XYZxyz(19.7161, 10.3671, 45.2094)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B6 #55B629
analogous
#4329B6 #8A29B6 #B6299B
triadic
#8A29B6 #B68A29 #29B68A
tetradic
#8A29B6 #B64329 #55B629 #299BB6
square
#8A29B6 #B64329 #55B629 #299BB6
split-complementary
#8A29B6 #9BB629 #29B643
monochromatic
#3E1252 #641E84 #8A29B6 #A947D5 #C079E1

Accessibility & contrast

On white

6.83
#8A29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8A29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B6#FFFFFF#000000##FFFFFF
##8A29B61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a29b6;
/* rgb */ color: rgb(138, 41, 182);
/* oklch */ color: oklch(49.7% 0.212 312.4);
Tailwind
colors: {
  custom: {
    50: '#b16ecd',
    500: '#8a29b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b6;
$custom-light: #b16ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b6",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 281.277,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.21186,
    "h": 312.4
  },
  "luminance": 0.10367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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