#8A409F#8A409F

#8A409F is a mid, vivid purple. Relative luminance 0.116; OKLCH L 50.7% C 0.160 H 318.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A409F
RGBrgb(138, 64, 159)
HSLhsl(287, 43%, 44%)
HSVhsv(287, 60%, 62%)
CMYKcmyk(13.2%, 59.7%, 0%, 37.6%)
CIE-LABlab(40.53, 46.47, -38.29)
CIE-LCHlch(40.53, 60.21, 320.52°)
OKLaboklab(50.71% 0.1196 -0.1068)
OKLCHoklch(50.71% 0.16 318.2)
XYZxyz(18.5718, 11.5740, 34.0499)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A409F #559F40
analogous
#5A409F #8A409F #9F4084
triadic
#8A409F #9F8A40 #409F8A
tetradic
#8A409F #9F5A40 #559F40 #40849F
square
#8A409F #9F5A40 #559F40 #40849F
split-complementary
#8A409F #849F40 #409F5A
monochromatic
#3E1D48 #642E73 #8A409F #A95EBE #C08AD0

Accessibility & contrast

On white

6.34
#8A409F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A409F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A409F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A409F#FFFFFF#000000##FFFFFF
##8A409F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#8A4F69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a409f;
/* rgb */ color: rgb(138, 64, 159);
/* oklch */ color: oklch(50.7% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#af79bc',
    500: '#8a409f',
    950: '#000000',
  },
}
SCSS
$custom: #8a409f;
$custom-light: #af79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a409f",
  "rgb": {
    "r": 138,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 286.737,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.16033,
    "h": 318.2
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#8A409F
secondary
#8DBB80
accent
#D25571
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8A409F

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

Preview Lab → · Contrast checker → · Palette generator →

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