#8A44AC#8A44AC

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

Color values

HEX#8A44AC
RGBrgb(138, 68, 172)
HSLhsl(280, 43%, 47%)
HSVhsv(280, 60%, 67%)
CMYKcmyk(19.8%, 60.5%, 0%, 32.5%)
CIE-LABlab(42.03, 47.25, -43.65)
CIE-LCHlch(42.03, 64.33, 317.27°)
OKLaboklab(52.04% 0.1147 -0.1225)
OKLCHoklch(52.04% 0.168 313.1)
XYZxyz(19.9935, 12.5166, 40.3845)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44AC #66AC44
analogous
#5644AC #8A44AC #AC449A
triadic
#8A44AC #AC8A44 #44AC8A
tetradic
#8A44AC #AC5644 #66AC44 #449AAC
square
#8A44AC #AC5644 #66AC44 #449AAC
split-complementary
#8A44AC #9AAC44 #44AC56
monochromatic
#442154 #673380 #8A44AC #A669C4 #C095D5

Accessibility & contrast

On white

5.99
#8A44AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A44AC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44AC#FFFFFF#000000##FFFFFF
##8A44AC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#875771
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a44ac;
/* rgb */ color: rgb(138, 68, 172);
/* oklch */ color: oklch(52.0% 0.168 313.1);
Tailwind
colors: {
  custom: {
    50: '#af7cc5',
    500: '#8a44ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a44ac;
$custom-light: #af7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44ac",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 172
  },
  "hsl": {
    "h": 280.385,
    "s": 43.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.16784,
    "h": 313.1
  },
  "luminance": 0.12516
}

Semantic roles & 50–950 ramp

primary
#8A44AC
secondary
#9DC18B
accent
#D3557E
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A44AC

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

Preview Lab → · Contrast checker → · Palette generator →

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