#8A4EA4#8A4EA4

#8A4EA4 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.0% C 0.143 H 314.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A4EA4
RGBrgb(138, 78, 164)
HSLhsl(282, 36%, 47%)
HSVhsv(282, 52%, 64%)
CMYKcmyk(15.9%, 52.4%, 0%, 35.7%)
CIE-LABlab(43.56, 40.22, -36.48)
CIE-LCHlch(43.56, 54.30, 317.79°)
OKLaboklab(53.02% 0.1007 -0.1016)
OKLCHoklch(53.02% 0.143 314.7)
XYZxyz(19.9054, 13.5329, 36.6783)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4EA4 #68A44E
analogous
#5F4EA4 #8A4EA4 #A44E93
triadic
#8A4EA4 #A48A4E #4EA48A
tetradic
#8A4EA4 #A45F4E #68A44E #4E93A4
square
#8A4EA4 #A45F4E #68A44E #4E93A4
split-complementary
#8A4EA4 #93A44E #4EA45F
monochromatic
#442751 #673A7B #8A4EA4 #A673BC #C09CD0

Accessibility & contrast

On white

5.67
#8A4EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A4EA4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4EA4#FFFFFF#000000##FFFFFF
##8A4EA41.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A7
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#885B71
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8a4ea4;
/* rgb */ color: rgb(138, 78, 164);
/* oklch */ color: oklch(53.0% 0.143 314.7);
Tailwind
colors: {
  custom: {
    50: '#ae82bf',
    500: '#8a4ea4',
    950: '#000000',
  },
}
SCSS
$custom: #8a4ea4;
$custom-light: #ae82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4ea4",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 281.86,
    "s": 35.537,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.14308,
    "h": 314.7
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#8A4EA4
secondary
#9EBD91
accent
#CC5C7E
background
#FAF8FB
surface
#F5EFF7
border
#CFCAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8A4EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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