#8A29A6#8A29A6

#8A29A6 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.198 H 317.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A29A6
RGBrgb(138, 41, 166)
HSLhsl(287, 60%, 41%)
HSVhsv(287, 75%, 65%)
CMYKcmyk(16.9%, 75.3%, 0%, 34.9%)
CIE-LABlab(37.38, 57.88, -47.53)
CIE-LCHlch(37.38, 74.90, 320.61°)
OKLaboklab(48.58% 0.1454 -0.1337)
OKLCHoklch(48.58% 0.198 317.4)
XYZxyz(18.1561, 9.7431, 36.9932)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A29A6 #45A629
analogous
#4B29A6 #8A29A6 #A62983
triadic
#8A29A6 #A68A29 #29A68A
tetradic
#8A29A6 #A64B29 #45A629 #2983A6
square
#8A29A6 #A64B29 #45A629 #2983A6
split-complementary
#8A29A6 #83A629 #29A64B
monochromatic
#381144 #611D75 #8A29A6 #AE3DCF #C36EDB

Accessibility & contrast

On white

7.12
#8A29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8A29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A29A6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A29A6#FFFFFF#000000##FFFFFF
##8A29A61.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#894466
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8a29a6;
/* rgb */ color: rgb(138, 41, 166);
/* oklch */ color: oklch(48.6% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#b06dc1',
    500: '#8a29a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a29a6;
$custom-light: #b06dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a29a6",
  "rgb": {
    "r": 138,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 286.56,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48582,
    "c": 0.19754,
    "h": 317.4
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#8A29A6
secondary
#7DC269
accent
#E44468
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8A29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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