#8A44AA#8A44AA

#8A44AA is a mid, vivid purple. Relative luminance 0.124; OKLCH L 51.9% C 0.166 H 313.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A44AA
RGBrgb(138, 68, 170)
HSLhsl(281, 43%, 47%)
HSVhsv(281, 60%, 67%)
CMYKcmyk(18.8%, 60%, 0%, 33.3%)
CIE-LABlab(41.91, 46.81, -42.66)
CIE-LCHlch(41.91, 63.33, 317.66°)
OKLaboklab(51.92% 0.1147 -0.1196)
OKLCHoklch(51.92% 0.166 313.8)
XYZxyz(19.8028, 12.4404, 39.3805)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44AA #64AA44
analogous
#5744AA #8A44AA #AA4497
triadic
#8A44AA #AA8A44 #44AA8A
tetradic
#8A44AA #AA5744 #64AA44 #4497AA
square
#8A44AA #AA5744 #64AA44 #4497AA
split-complementary
#8A44AA #97AA44 #44AA57
monochromatic
#432153 #67337E #8A44AA #A668C3 #C094D4

Accessibility & contrast

On white

6.02
#8A44AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A44AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44AA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44AA#FFFFFF#000000##FFFFFF
##8A44AA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#4065A7
Tritanopia (blue-blind)
#875670
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a44aa;
/* rgb */ color: rgb(138, 68, 170);
/* oklch */ color: oklch(51.9% 0.166 313.8);
Tailwind
colors: {
  custom: {
    50: '#af7cc4',
    500: '#8a44aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a44aa;
$custom-light: #af7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44aa",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 281.176,
    "s": 42.857,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5192,
    "c": 0.1657,
    "h": 313.8
  },
  "luminance": 0.1244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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