#8A4AB3#8A4AB3

#8A4AB3 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.166 H 310.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A4AB3
RGBrgb(138, 74, 179)
HSLhsl(277, 42%, 50%)
HSVhsv(277, 59%, 70%)
CMYKcmyk(22.9%, 58.7%, 0%, 29.8%)
CIE-LABlab(43.59, 45.73, -45.29)
CIE-LCHlch(43.59, 64.36, 315.28°)
OKLaboklab(53.32% 0.1071 -0.1273)
OKLCHoklch(53.32% 0.166 310.1)
XYZxyz(21.0651, 13.5559, 44.1459)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4AB3 #73B34A
analogous
#554AB3 #8A4AB3 #B34AA8
triadic
#8A4AB3 #B38A4A #4AB38A
tetradic
#8A4AB3 #B3554A #73B34A #4AA8B3
square
#8A4AB3 #B3554A #73B34A #4AA8B3
split-complementary
#8A4AB3 #A8B34A #4AB355
monochromatic
#47265C #693888 #8A4AB3 #A674C6 #C2A0D8

Accessibility & contrast

On white

5.66
#8A4AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8A4AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4AB3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4AB3#FFFFFF#000000##FFFFFF
##8A4AB31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#855D77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4ab3;
/* rgb */ color: rgb(138, 74, 179);
/* oklch */ color: oklch(53.3% 0.166 310.1);
Tailwind
colors: {
  custom: {
    50: '#af80ca',
    500: '#8a4ab3',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ab3;
$custom-light: #af80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ab3",
  "rgb": {
    "r": 138,
    "g": 74,
    "b": 179
  },
  "hsl": {
    "h": 276.571,
    "s": 41.502,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.16636,
    "h": 310.1
  },
  "luminance": 0.13556
}

Semantic roles & 50–950 ramp

primary
#8A4AB3
secondary
#A7C494
accent
#D15686
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8A4AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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