#8A29B3#8A29B3

#8A29B3 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 313.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A29B3
RGBrgb(138, 41, 179)
HSLhsl(282, 63%, 43%)
HSVhsv(282, 77%, 70%)
CMYKcmyk(22.9%, 77.1%, 0%, 29.8%)
CIE-LABlab(38.28, 60.48, -53.83)
CIE-LCHlch(38.28, 80.97, 318.33°)
OKLaboklab(49.5% 0.1435 -0.1522)
OKLCHoklch(49.5% 0.209 313.3)
XYZxyz(19.4094, 10.2444, 43.5940)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B3 #52B329
analogous
#4529B3 #8A29B3 #B32997
triadic
#8A29B3 #B38A29 #29B38A
tetradic
#8A29B3 #B34529 #52B329 #2997B3
square
#8A29B3 #B34529 #52B329 #2997B3
split-complementary
#8A29B3 #97B329 #29B345
monochromatic
#3D124F #641E81 #8A29B3 #AA45D4 #C177E0

Accessibility & contrast

On white

6.89
#8A29B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8A29B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B3#FFFFFF#000000##FFFFFF
##8A29B31.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#86496D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a29b3;
/* rgb */ color: rgb(138, 41, 179);
/* oklch */ color: oklch(49.5% 0.209 313.3);
Tailwind
colors: {
  custom: {
    50: '#b16ecb',
    500: '#8a29b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b3;
$custom-light: #b16ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b3",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 282.174,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.20917,
    "h": 313.3
  },
  "luminance": 0.10244
}

Semantic roles & 50–950 ramp

primary
#8A29B3
secondary
#8AC770
accent
#E64273
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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