#8A43AA#8A43AA

#8A43AA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.8% C 0.167 H 313.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8A43AA
RGBrgb(138, 67, 170)
HSLhsl(281, 43%, 46%)
HSVhsv(281, 61%, 67%)
CMYKcmyk(18.8%, 60.6%, 0%, 33.3%)
CIE-LABlab(41.72, 47.32, -42.95)
CIE-LCHlch(41.72, 63.91, 317.77°)
OKLaboklab(51.78% 0.116 -0.1205)
OKLCHoklch(51.78% 0.167 313.9)
XYZxyz(19.7429, 12.3204, 39.3605)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A43AA #63AA43
analogous
#5743AA #8A43AA #AA4397
triadic
#8A43AA #AA8A43 #43AA8A
tetradic
#8A43AA #AA5743 #63AA43 #4397AA
square
#8A43AA #AA5743 #63AA43 #4397AA
split-complementary
#8A43AA #97AA43 #43AA57
monochromatic
#432052 #66327E #8A43AA #A767C3 #C093D4

Accessibility & contrast

On white

6.06
#8A43AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A43AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A43AA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A43AA#FFFFFF#000000##FFFFFF
##8A43AA1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#3F64A7
Tritanopia (blue-blind)
#875570
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a43aa;
/* rgb */ color: rgb(138, 67, 170);
/* oklch */ color: oklch(51.8% 0.167 313.9);
Tailwind
colors: {
  custom: {
    50: '#af7bc4',
    500: '#8a43aa',
    950: '#000000',
  },
}
SCSS
$custom: #8a43aa;
$custom-light: #af7bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a43aa",
  "rgb": {
    "r": 138,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 281.359,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51784,
    "c": 0.16722,
    "h": 313.9
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#8A43AA
secondary
#9AC089
accent
#D3557C
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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