#8A44A5#8A44A5

#8A44A5 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.6% C 0.160 H 315.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A44A5
RGBrgb(138, 68, 165)
HSLhsl(283, 42%, 46%)
HSVhsv(283, 59%, 65%)
CMYKcmyk(16.4%, 58.8%, 0%, 35.3%)
CIE-LABlab(41.62, 45.73, -40.14)
CIE-LCHlch(41.62, 60.85, 318.72°)
OKLaboklab(51.62% 0.1145 -0.1123)
OKLCHoklch(51.62% 0.16 315.6)
XYZxyz(19.3388, 12.2548, 36.9367)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A44A5 #5FA544
analogous
#5944A5 #8A44A5 #A5448F
triadic
#8A44A5 #A58A44 #44A58A
tetradic
#8A44A5 #A55944 #5FA544 #448FA5
square
#8A44A5 #A55944 #5FA544 #448FA5
split-complementary
#8A44A5 #8FA544 #44A559
monochromatic
#42204E #66327A #8A44A5 #A766C0 #C092D2

Accessibility & contrast

On white

6.09
#8A44A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A44A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A44A5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A44A5#FFFFFF#000000##FFFFFF
##8A44A51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA8
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#88546E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a44a5;
/* rgb */ color: rgb(138, 68, 165);
/* oklch */ color: oklch(51.6% 0.160 315.6);
Tailwind
colors: {
  custom: {
    50: '#af7bc0',
    500: '#8a44a5',
    950: '#000000',
  },
}
SCSS
$custom: #8a44a5;
$custom-light: #af7bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a44a5",
  "rgb": {
    "r": 138,
    "g": 68,
    "b": 165
  },
  "hsl": {
    "h": 283.299,
    "s": 41.631,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.16038,
    "h": 315.6
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#8A44A5
secondary
#96BD87
accent
#D15679
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A44A5

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

Preview Lab → · Contrast checker → · Palette generator →

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