#8A44AB#8A44AB

#8A44AB is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.0% C 0.167 H 313.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8A44AB
RGBrgb(138, 68, 171)
HSLhsl(281, 43%, 47%)
HSVhsv(281, 60%, 67%)
CMYKcmyk(19.3%, 60.2%, 0%, 32.9%)
CIE-LABlab(41.97, 47.03, -43.15)
CIE-LCHlch(41.97, 63.83, 317.46°)
OKLaboklab(51.98% 0.1147 -0.1211)
OKLCHoklch(51.98% 0.167 313.5)
XYZxyz(19.8978, 12.4784, 39.8806)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44AB #65AB44
analogous
#5744AB #8A44AB #AB4499
triadic
#8A44AB #AB8A44 #44AB8A
tetradic
#8A44AB #AB5744 #65AB44 #4499AB
square
#8A44AB #AB5744 #65AB44 #4499AB
split-complementary
#8A44AB #99AB44 #44AB57
monochromatic
#432153 #67337F #8A44AB #A669C3 #C095D5

Accessibility & contrast

On white

6.01
#8A44AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A44AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44AB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44AB#FFFFFF#000000##FFFFFF
##8A44AB1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAE
Deuteranopia (green-blind)
#3F65A8
Tritanopia (blue-blind)
#875671
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a44ab;
/* rgb */ color: rgb(138, 68, 171);
/* oklch */ color: oklch(52.0% 0.167 313.5);
Tailwind
colors: {
  custom: {
    50: '#af7cc4',
    500: '#8a44ab',
    950: '#000000',
  },
}
SCSS
$custom: #8a44ab;
$custom-light: #af7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44ab",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 280.777,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.16677,
    "h": 313.5
  },
  "luminance": 0.12478
}

Semantic roles & 50–950 ramp

primary
#8A44AB
secondary
#9CC08A
accent
#D3557D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44AB

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

Preview Lab → · Contrast checker → · Palette generator →

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