#8A44A2#8A44A2

#8A44A2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.4% C 0.157 H 316.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A44A2
RGBrgb(138, 68, 162)
HSLhsl(285, 41%, 45%)
HSVhsv(285, 58%, 64%)
CMYKcmyk(14.8%, 58%, 0%, 36.5%)
CIE-LABlab(41.45, 45.08, -38.62)
CIE-LCHlch(41.45, 59.37, 319.41°)
OKLaboklab(51.44% 0.1144 -0.1078)
OKLCHoklch(51.44% 0.157 316.7)
XYZxyz(19.0690, 12.1468, 35.5155)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44A2 #5CA244
analogous
#5B44A2 #8A44A2 #A2448B
triadic
#8A44A2 #A28A44 #44A28A
tetradic
#8A44A2 #A25B44 #5CA244 #448BA2
square
#8A44A2 #A25B44 #5CA244 #448BA2
split-complementary
#8A44A2 #8BA244 #44A25B
monochromatic
#41204C #653277 #8A44A2 #A765BE #C090D0

Accessibility & contrast

On white

6.12
#8A44A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A44A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44A2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44A2#FFFFFF#000000##FFFFFF
##8A44A21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#89536C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a44a2;
/* rgb */ color: rgb(138, 68, 162);
/* oklch */ color: oklch(51.4% 0.157 316.7);
Tailwind
colors: {
  custom: {
    50: '#af7bbe',
    500: '#8a44a2',
    950: '#000000',
  },
}
SCSS
$custom: #8a44a2;
$custom-light: #af7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44a2",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 162
  },
  "hsl": {
    "h": 284.681,
    "s": 40.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51436,
    "c": 0.15721,
    "h": 316.7
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#8A44A2
secondary
#94BC86
accent
#D15776
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A44A2

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

Preview Lab → · Contrast checker → · Palette generator →

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