#8A43AC#8A43AC

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

Color values

HEX#8A43AC
RGBrgb(138, 67, 172)
HSLhsl(281, 44%, 47%)
HSVhsv(281, 61%, 67%)
CMYKcmyk(19.8%, 61%, 0%, 32.5%)
CIE-LABlab(41.84, 47.76, -43.95)
CIE-LCHlch(41.84, 64.90, 317.38°)
OKLaboklab(51.91% 0.116 -0.1234)
OKLCHoklch(51.91% 0.169 313.2)
XYZxyz(19.9335, 12.3967, 40.3645)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43AC #65AC43
analogous
#5543AC #8A43AC #AC439A
triadic
#8A43AC #AC8A43 #43AC8A
tetradic
#8A43AC #AC5543 #65AC43 #439AAC
square
#8A43AC #AC5543 #65AC43 #439AAC
split-complementary
#8A43AC #9AAC43 #43AC55
monochromatic
#432154 #673280 #8A43AC #A668C4 #C094D5

Accessibility & contrast

On white

6.04
#8A43AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A43AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43AC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43AC#FFFFFF#000000##FFFFFF
##8A43AC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#875671
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a43ac;
/* rgb */ color: rgb(138, 67, 172);
/* oklch */ color: oklch(51.9% 0.169 313.2);
Tailwind
colors: {
  custom: {
    50: '#af7bc5',
    500: '#8a43ac',
    950: '#000000',
  },
}
SCSS
$custom: #8a43ac;
$custom-light: #af7bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43ac",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 280.571,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.16934,
    "h": 313.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#8A43AC
secondary
#9CC18A
accent
#D4547D
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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