#8C29AA#8C29AA

#8C29AA is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.1% C 0.202 H 316.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8C29AA
RGBrgb(140, 41, 170)
HSLhsl(286, 61%, 41%)
HSVhsv(286, 76%, 67%)
CMYKcmyk(17.6%, 75.9%, 0%, 33.3%)
CIE-LABlab(37.96, 59.07, -48.97)
CIE-LCHlch(37.96, 76.73, 320.34°)
OKLaboklab(49.14% 0.1474 -0.1379)
OKLCHoklch(49.14% 0.202 316.9)
XYZxyz(18.8628, 10.0644, 38.9714)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C29AA #47AA29
analogous
#4C29AA #8C29AA #AA2988
triadic
#8C29AA #AA8C29 #29AA8C
tetradic
#8C29AA #AA4C29 #47AA29 #2988AA
square
#8C29AA #AA4C29 #47AA29 #2988AA
split-complementary
#8C29AA #88AA29 #29AA4C
monochromatic
#3B1147 #631D79 #8C29AA #AF3FD1 #C471DD

Accessibility & contrast

On white

6.97
#8C29AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8C29AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C29AA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C29AA#FFFFFF#000000##FFFFFF
##8C29AA1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2B5CA7
Tritanopia (blue-blind)
#8A4568
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8c29aa;
/* rgb */ color: rgb(140, 41, 170);
/* oklch */ color: oklch(49.1% 0.202 316.9);
Tailwind
colors: {
  custom: {
    50: '#b26ec4',
    500: '#8c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #8c29aa;
$custom-light: #b26ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c29aa",
  "rgb": {
    "r": 140,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 286.047,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49141,
    "c": 0.20184,
    "h": 316.9
  },
  "luminance": 0.10064
}

Semantic roles & 50–950 ramp

primary
#8C29AA
secondary
#80C46B
accent
#E44469
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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