#8A29B8#8A29B8

#8A29B8 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.214 H 311.9°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A29B8
RGBrgb(138, 41, 184)
HSLhsl(281, 64%, 44%)
HSVhsv(281, 78%, 72%)
CMYKcmyk(25%, 77.7%, 0%, 27.8%)
CIE-LABlab(38.64, 61.51, -56.20)
CIE-LCHlch(38.64, 83.31, 317.58°)
OKLaboklab(49.87% 0.1426 -0.1592)
OKLCHoklch(49.87% 0.214 311.9)
XYZxyz(19.9243, 10.4504, 46.3057)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29B8 #57B829
analogous
#4229B8 #8A29B8 #B8299F
triadic
#8A29B8 #B88A29 #29B88A
tetradic
#8A29B8 #B84229 #57B829 #299FB8
square
#8A29B8 #B84229 #57B829 #299FB8
split-complementary
#8A29B8 #9FB829 #29B842
monochromatic
#3F1354 #641E86 #8A29B8 #A848D6 #C07AE1

Accessibility & contrast

On white

6.80
#8A29B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8A29B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A29B8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29B8#FFFFFF#000000##FFFFFF
##8A29B81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0A5DB5
Tritanopia (blue-blind)
#844C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a29b8;
/* rgb */ color: rgb(138, 41, 184);
/* oklch */ color: oklch(49.9% 0.214 311.9);
Tailwind
colors: {
  custom: {
    50: '#b16ece',
    500: '#8a29b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a29b8;
$custom-light: #b16ece;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29b8",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 280.699,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49871,
    "c": 0.21367,
    "h": 311.9
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#8A29B8
secondary
#8FC973
accent
#E74176
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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