#8A43A6#8A43A6

#8A43A6 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.5% C 0.163 H 315.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8A43A6
RGBrgb(138, 67, 166)
HSLhsl(283, 42%, 46%)
HSVhsv(283, 60%, 65%)
CMYKcmyk(16.9%, 59.6%, 0%, 34.9%)
CIE-LABlab(41.49, 46.45, -40.95)
CIE-LCHlch(41.49, 61.92, 318.60°)
OKLaboklab(51.54% 0.1159 -0.1146)
OKLCHoklch(51.54% 0.163 315.3)
XYZxyz(19.3702, 12.1714, 37.3979)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43A6 #5FA643
analogous
#5843A6 #8A43A6 #A64390
triadic
#8A43A6 #A68A43 #43A68A
tetradic
#8A43A6 #A65843 #5FA643 #4390A6
square
#8A43A6 #A65843 #5FA643 #4390A6
split-complementary
#8A43A6 #90A643 #43A658
monochromatic
#42204F #66317A #8A43A6 #A765C1 #C091D3

Accessibility & contrast

On white

6.11
#8A43A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A43A6
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43A6#FFFFFF#000000##FFFFFF
##8A43A61.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EA9
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#88546E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a43a6;
/* rgb */ color: rgb(138, 67, 166);
/* oklch */ color: oklch(51.5% 0.163 315.3);
Tailwind
colors: {
  custom: {
    50: '#af7bc1',
    500: '#8a43a6',
    950: '#000000',
  },
}
SCSS
$custom: #8a43a6;
$custom-light: #af7bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43a6",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 283.03,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.16298,
    "h": 315.3
  },
  "luminance": 0.12171
}

Semantic roles & 50–950 ramp

primary
#8A43A6
secondary
#96BE87
accent
#D25679
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A43A6

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

Preview Lab → · Contrast checker → · Palette generator →

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