#8A29A1#8A29A1

#8A29A1 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.193 H 319.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8A29A1
RGBrgb(138, 41, 161)
HSLhsl(289, 59%, 40%)
HSVhsv(289, 75%, 63%)
CMYKcmyk(14.3%, 74.5%, 0%, 36.9%)
CIE-LABlab(37.05, 56.91, -45.05)
CIE-LCHlch(37.05, 72.59, 321.63°)
OKLaboklab(48.24% 0.146 -0.1264)
OKLCHoklch(48.24% 0.193 319.1)
XYZxyz(17.7063, 9.5632, 34.6245)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A1 #40A129
analogous
#4E29A1 #8A29A1 #A1297C
triadic
#8A29A1 #A18A29 #29A18A
tetradic
#8A29A1 #A14E29 #40A129 #297CA1
square
#8A29A1 #A14E29 #40A129 #297CA1
split-complementary
#8A29A1 #7CA129 #29A14E
monochromatic
#36103F #601D70 #8A29A1 #B13ACD #C46BD9

Accessibility & contrast

On white

7.21
#8A29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8A29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A1
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A1#FFFFFF#000000##FFFFFF
##8A29A11.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#8A4163
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8a29a1;
/* rgb */ color: rgb(138, 41, 161);
/* oklch */ color: oklch(48.2% 0.193 319.1);
Tailwind
colors: {
  custom: {
    50: '#b06dbd',
    500: '#8a29a1',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a1;
$custom-light: #b06dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a1",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 288.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.19312,
    "h": 319.1
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#8A29A1
secondary
#77C066
accent
#E34563
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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