#8A29AB#8A29AB

#8A29AB is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.202 H 315.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A29AB
RGBrgb(138, 41, 171)
HSLhsl(285, 61%, 42%)
HSVhsv(285, 76%, 67%)
CMYKcmyk(19.3%, 76%, 0%, 32.9%)
CIE-LABlab(37.72, 58.87, -49.97)
CIE-LCHlch(37.72, 77.22, 319.67°)
OKLaboklab(48.93% 0.1448 -0.1409)
OKLCHoklch(48.93% 0.202 315.8)
XYZxyz(18.6237, 9.9302, 39.4559)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29AB #4AAB29
analogous
#4929AB #8A29AB #AB298B
triadic
#8A29AB #AB8A29 #29AB8A
tetradic
#8A29AB #AB4929 #4AAB29 #298BAB
square
#8A29AB #AB4929 #4AAB29 #298BAB
split-complementary
#8A29AB #8BAB29 #29AB49
monochromatic
#3A1148 #621D7A #8A29AB #AC40D1 #C271DD

Accessibility & contrast

On white

7.03
#8A29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8A29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29AB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29AB#FFFFFF#000000##FFFFFF
##8A29AB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#265BA8
Tritanopia (blue-blind)
#884669
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a29ab;
/* rgb */ color: rgb(138, 41, 171);
/* oklch */ color: oklch(48.9% 0.202 315.8);
Tailwind
colors: {
  custom: {
    50: '#b06dc5',
    500: '#8a29ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a29ab;
$custom-light: #b06dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29ab",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 284.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.202,
    "h": 315.8
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#8A29AB
secondary
#82C46C
accent
#E4436C
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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