#8A29AA#8A29AA

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

Color values

HEX#8A29AA
RGBrgb(138, 41, 170)
HSLhsl(285, 61%, 41%)
HSVhsv(285, 76%, 67%)
CMYKcmyk(18.8%, 75.9%, 0%, 33.3%)
CIE-LABlab(37.65, 58.67, -49.49)
CIE-LCHlch(37.65, 76.76, 319.86°)
OKLaboklab(48.86% 0.1449 -0.1394)
OKLCHoklch(48.86% 0.201 316.1)
XYZxyz(18.5287, 9.8922, 38.9558)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29AA #49AA29
analogous
#4A29AA #8A29AA #AA298A
triadic
#8A29AA #AA8A29 #29AA8A
tetradic
#8A29AA #AA4A29 #49AA29 #298AAA
square
#8A29AA #AA4A29 #49AA29 #298AAA
split-complementary
#8A29AA #8AAA29 #29AA4A
monochromatic
#3A1147 #621D79 #8A29AA #AD3FD1 #C271DD

Accessibility & contrast

On white

7.05
#8A29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8A29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29AA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29AA#FFFFFF#000000##FFFFFF
##8A29AA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#884568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8a29aa;
/* rgb */ color: rgb(138, 41, 170);
/* oklch */ color: oklch(48.9% 0.201 316.1);
Tailwind
colors: {
  custom: {
    50: '#b06dc4',
    500: '#8a29aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a29aa;
$custom-light: #b06dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29aa",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 285.116,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4886,
    "c": 0.20111,
    "h": 316.1
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

primary
#8A29AA
secondary
#81C46B
accent
#E4446B
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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