#8A29BA#8A29BA

#8A29BA is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.215 H 311.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A29BA
RGBrgb(138, 41, 186)
HSLhsl(280, 64%, 45%)
HSVhsv(280, 78%, 73%)
CMYKcmyk(25.8%, 78%, 0%, 27.1%)
CIE-LABlab(38.79, 61.92, -57.14)
CIE-LCHlch(38.79, 84.25, 317.30°)
OKLaboklab(50.02% 0.1422 -0.1619)
OKLCHoklch(50.02% 0.215 311.3)
XYZxyz(20.1354, 10.5348, 47.4176)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29BA #59BA29
analogous
#4229BA #8A29BA #BA29A2
triadic
#8A29BA #BA8A29 #29BA8A
tetradic
#8A29BA #BA4229 #59BA29 #29A2BA
square
#8A29BA #BA4229 #59BA29 #29A2BA
split-complementary
#8A29BA #A2BA29 #29BA42
monochromatic
#401356 #651E88 #8A29BA #A849D7 #C07BE2

Accessibility & contrast

On white

6.76
#8A29BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A29BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29BA
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29BA#FFFFFF#000000##FFFFFF
##8A29BA1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#025DB7
Tritanopia (blue-blind)
#844C71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a29ba;
/* rgb */ color: rgb(138, 41, 186);
/* oklch */ color: oklch(50.0% 0.215 311.3);
Tailwind
colors: {
  custom: {
    50: '#b16ed0',
    500: '#8a29ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a29ba;
$custom-light: #b16ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29ba",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 280.138,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50021,
    "c": 0.21548,
    "h": 311.3
  },
  "luminance": 0.10534
}

Semantic roles & 50–950 ramp

primary
#8A29BA
secondary
#91CA75
accent
#E74178
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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