#8A29A4#8A29A4

#8A29A4 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.196 H 318.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A29A4
RGBrgb(138, 41, 164)
HSLhsl(287, 60%, 40%)
HSVhsv(287, 75%, 64%)
CMYKcmyk(15.9%, 75%, 0%, 35.7%)
CIE-LABlab(37.24, 57.49, -46.54)
CIE-LCHlch(37.24, 73.97, 321.01°)
OKLaboklab(48.45% 0.1457 -0.1308)
OKLCHoklch(48.45% 0.196 318.1)
XYZxyz(17.9741, 9.6703, 36.0345)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A4 #43A429
analogous
#4C29A4 #8A29A4 #A42980
triadic
#8A29A4 #A48A29 #29A48A
tetradic
#8A29A4 #A44C29 #43A429 #2980A4
square
#8A29A4 #A44C29 #43A429 #2980A4
split-complementary
#8A29A4 #80A429 #29A44C
monochromatic
#381142 #611D73 #8A29A4 #AF3CCE #C36DDA

Accessibility & contrast

On white

7.16
#8A29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8A29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A4
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A4#FFFFFF#000000##FFFFFF
##8A29A41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2E5BA1
Tritanopia (blue-blind)
#894365
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a29a4;
/* rgb */ color: rgb(138, 41, 164);
/* oklch */ color: oklch(48.4% 0.196 318.1);
Tailwind
colors: {
  custom: {
    50: '#b06dc0',
    500: '#8a29a4',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a4;
$custom-light: #b06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a4",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 287.317,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48445,
    "c": 0.19578,
    "h": 318.1
  },
  "luminance": 0.09669
}

Semantic roles & 50–950 ramp

primary
#8A29A4
secondary
#7BC168
accent
#E34566
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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