#8A4DA4#8A4DA4

#8A4DA4 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.9% C 0.145 H 314.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A4DA4
RGBrgb(138, 77, 164)
HSLhsl(282, 36%, 47%)
HSVhsv(282, 53%, 64%)
CMYKcmyk(15.9%, 53%, 0%, 35.7%)
CIE-LABlab(43.35, 40.76, -36.81)
CIE-LCHlch(43.35, 54.92, 317.92°)
OKLaboklab(52.87% 0.1021 -0.1026)
OKLCHoklch(52.87% 0.145 314.9)
XYZxyz(19.8349, 13.3919, 36.6548)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4DA4 #67A44D
analogous
#5E4DA4 #8A4DA4 #A44D93
triadic
#8A4DA4 #A48A4D #4DA48A
tetradic
#8A4DA4 #A45E4D #67A44D #4D93A4
square
#8A4DA4 #A45E4D #67A44D #4D93A4
split-complementary
#8A4DA4 #93A44D #4DA45E
monochromatic
#442651 #67397A #8A4DA4 #A672BD #C09BD0

Accessibility & contrast

On white

5.71
#8A4DA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8A4DA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4DA4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4DA4#FFFFFF#000000##FFFFFF
##8A4DA41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#885B71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a4da4;
/* rgb */ color: rgb(138, 77, 164);
/* oklch */ color: oklch(52.9% 0.145 314.9);
Tailwind
colors: {
  custom: {
    50: '#ae81bf',
    500: '#8a4da4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4da4;
$custom-light: #ae81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4da4",
  "rgb": {
    "r": 138,
    "g": 77,
    "b": 164
  },
  "hsl": {
    "h": 282.069,
    "s": 36.1,
    "l": 47.255
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.14476,
    "h": 314.9
  },
  "luminance": 0.13391
}

Semantic roles & 50–950 ramp

primary
#8A4DA4
secondary
#9DBD90
accent
#CC5C7D
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A4DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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