#8A409A#8A409A

#8A409A is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.4% C 0.155 H 320.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A409A
RGBrgb(138, 64, 154)
HSLhsl(289, 41%, 43%)
HSVhsv(289, 58%, 60%)
CMYKcmyk(10.4%, 58.4%, 0%, 39.6%)
CIE-LABlab(40.25, 45.44, -35.72)
CIE-LCHlch(40.25, 57.80, 321.83°)
OKLaboklab(50.42% 0.1193 -0.0994)
OKLCHoklch(50.42% 0.155 320.2)
XYZxyz(18.1467, 11.4040, 31.8109)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A409A #509A40
analogous
#5D409A #8A409A #9A407D
triadic
#8A409A #9A8A40 #409A8A
tetradic
#8A409A #9A5D40 #509A40 #407D9A
square
#8A409A #9A5D40 #509A40 #407D9A
split-complementary
#8A409A #7D9A40 #409A5D
monochromatic
#3D1C44 #632E6F #8A409A #AA5CBB #C187CD

Accessibility & contrast

On white

6.40
#8A409A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8A409A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A409A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A409A#FFFFFF#000000##FFFFFF
##8A409A1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9D
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#8B4E67
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a409a;
/* rgb */ color: rgb(138, 64, 154);
/* oklch */ color: oklch(50.4% 0.155 320.2);
Tailwind
colors: {
  custom: {
    50: '#ae79b8',
    500: '#8a409a',
    950: '#000000',
  },
}
SCSS
$custom: #8a409a;
$custom-light: #ae79b8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a409a",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 289.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50418,
    "c": 0.15525,
    "h": 320.2
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#8A409A
secondary
#88B87E
accent
#D1576C
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110911
muted
#807B80

Preview Lab

Preview with #8A409A

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

Preview Lab → · Contrast checker → · Palette generator →

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