#8A29B9#8A29B9

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

Color values

HEX#8A29B9
RGBrgb(138, 41, 185)
HSLhsl(280, 64%, 44%)
HSVhsv(280, 78%, 73%)
CMYKcmyk(25.4%, 77.8%, 0%, 27.5%)
CIE-LABlab(38.71, 61.71, -56.67)
CIE-LCHlch(38.71, 83.78, 317.44°)
OKLaboklab(49.95% 0.1424 -0.1605)
OKLCHoklch(49.95% 0.215 311.6)
XYZxyz(20.0295, 10.4925, 46.8597)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B9 #58B929
analogous
#4229B9 #8A29B9 #B929A0
triadic
#8A29B9 #B98A29 #29B98A
tetradic
#8A29B9 #B94229 #58B929 #29A0B9
square
#8A29B9 #B94229 #58B929 #29A0B9
split-complementary
#8A29B9 #A0B929 #29B942
monochromatic
#3F1355 #651E87 #8A29B9 #A849D7 #C07BE2

Accessibility & contrast

On white

6.78
#8A29B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#8A29B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B9
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B9#FFFFFF#000000##FFFFFF
##8A29B91.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#065DB6
Tritanopia (blue-blind)
#844C71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a29b9;
/* rgb */ color: rgb(138, 41, 185);
/* oklch */ color: oklch(49.9% 0.215 311.6);
Tailwind
colors: {
  custom: {
    50: '#b16ecf',
    500: '#8a29b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b9;
$custom-light: #b16ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b9",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 185
  },
  "hsl": {
    "h": 280.417,
    "s": 63.717,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49946,
    "c": 0.21457,
    "h": 311.6
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#8A29B9
secondary
#90CA74
accent
#E74177
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A29B9

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

Preview Lab → · Contrast checker → · Palette generator →

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