#8A4EAA#8A4EAA

#8A4EAA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.150 H 312.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A4EAA
RGBrgb(138, 78, 170)
HSLhsl(279, 37%, 49%)
HSVhsv(279, 54%, 67%)
CMYKcmyk(18.8%, 54.1%, 0%, 33.3%)
CIE-LABlab(43.88, 41.56, -39.52)
CIE-LCHlch(43.88, 57.35, 316.44°)
OKLaboklab(53.36% 0.1013 -0.1105)
OKLCHoklch(53.36% 0.15 312.5)
XYZxyz(20.4601, 13.7548, 39.5996)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EAA #6EAA4E
analogous
#5C4EAA #8A4EAA #AA4E9C
triadic
#8A4EAA #AA8A4E #4EAA8A
tetradic
#8A4EAA #AA5C4E #6EAA4E #4E9CAA
square
#8A4EAA #AA5C4E #6EAA4E #4E9CAA
split-complementary
#8A4EAA #9CAA4E #4EAA5C
monochromatic
#462856 #683B80 #8A4EAA #A675C0 #C19FD3

Accessibility & contrast

On white

5.60
#8A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8A4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4EAA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EAA#FFFFFF#000000##FFFFFF
##8A4EAA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#4969A8
Tritanopia (blue-blind)
#875D74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8a4eaa;
/* rgb */ color: rgb(138, 78, 170);
/* oklch */ color: oklch(53.4% 0.150 312.5);
Tailwind
colors: {
  custom: {
    50: '#ae82c4',
    500: '#8a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8a4eaa;
$custom-light: #ae82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4eaa",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 279.13,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.14988,
    "h": 312.5
  },
  "luminance": 0.13754
}

Semantic roles & 50–950 ramp

primary
#8A4EAA
secondary
#A3C094
accent
#CD5B82
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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