#8A4CAA#8A4CAA

#8A4CAA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.153 H 312.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A4CAA
RGBrgb(138, 76, 170)
HSLhsl(280, 38%, 48%)
HSVhsv(280, 55%, 67%)
CMYKcmyk(18.8%, 55.3%, 0%, 33.3%)
CIE-LABlab(43.47, 42.64, -40.17)
CIE-LCHlch(43.47, 58.58, 316.71°)
OKLaboklab(53.06% 0.104 -0.1124)
OKLCHoklch(53.06% 0.153 312.8)
XYZxyz(20.3201, 13.4749, 39.5529)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4CAA #6CAA4C
analogous
#5B4CAA #8A4CAA #AA4C9B
triadic
#8A4CAA #AA8A4C #4CAA8A
tetradic
#8A4CAA #AA5B4C #6CAA4C #4C9BAA
square
#8A4CAA #AA5B4C #6CAA4C #4C9BAA
split-complementary
#8A4CAA #9BAA4C #4CAA5B
monochromatic
#452655 #683980 #8A4CAA #A673C0 #C19DD3

Accessibility & contrast

On white

5.68
#8A4CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8A4CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4CAA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4CAA#FFFFFF#000000##FFFFFF
##8A4CAA1.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#4868A8
Tritanopia (blue-blind)
#875C74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4caa;
/* rgb */ color: rgb(138, 76, 170);
/* oklch */ color: oklch(53.1% 0.153 312.8);
Tailwind
colors: {
  custom: {
    50: '#ae81c4',
    500: '#8a4caa',
    950: '#000000',
  },
}
SCSS
$custom: #8a4caa;
$custom-light: #ae81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4caa",
  "rgb": {
    "r": 138,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 279.574,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.15313,
    "h": 312.8
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#8A4CAA
secondary
#A2C092
accent
#CE5A81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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