#8A4DA9#8A4DA9

#8A4DA9 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.150 H 313.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8A4DA9
RGBrgb(138, 77, 169)
HSLhsl(280, 37%, 48%)
HSVhsv(280, 54%, 66%)
CMYKcmyk(18.3%, 54.4%, 0%, 33.7%)
CIE-LABlab(43.62, 41.87, -39.34)
CIE-LCHlch(43.62, 57.46, 316.79°)
OKLaboklab(53.15% 0.1026 -0.11)
OKLCHoklch(53.15% 0.15 313)
XYZxyz(20.2953, 13.5761, 39.0798)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DA9 #6CA94D
analogous
#5C4DA9 #8A4DA9 #A94D9A
triadic
#8A4DA9 #A98A4D #4DA98A
tetradic
#8A4DA9 #A95C4D #6CA94D #4D9AA9
square
#8A4DA9 #A95C4D #6CA94D #4D9AA9
split-complementary
#8A4DA9 #9AA94D #4DA95C
monochromatic
#452755 #683A7F #8A4DA9 #A674C0 #C19ED3

Accessibility & contrast

On white

5.65
#8A4DA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8A4DA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DA9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DA9#FFFFFF#000000##FFFFFF
##8A4DA91.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AC
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#875C74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4da9;
/* rgb */ color: rgb(138, 77, 169);
/* oklch */ color: oklch(53.2% 0.150 313.0);
Tailwind
colors: {
  custom: {
    50: '#ae81c3',
    500: '#8a4da9',
    950: '#000000',
  },
}
SCSS
$custom: #8a4da9;
$custom-light: #ae81c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4da9",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 279.783,
    "s": 37.398,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53155,
    "c": 0.15038,
    "h": 313
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#8A4DA9
secondary
#A2BF92
accent
#CD5A81
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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