#8B409E#8B409E

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

Color values

HEX#8B409E
RGBrgb(139, 64, 158)
HSLhsl(288, 42%, 44%)
HSVhsv(288, 59%, 62%)
CMYKcmyk(12%, 59.5%, 0%, 38%)
CIE-LABlab(40.61, 46.53, -37.55)
CIE-LCHlch(40.61, 59.79, 321.10°)
OKLaboklab(50.78% 0.1208 -0.1046)
OKLCHoklch(50.78% 0.16 319.1)
XYZxyz(18.6516, 11.6252, 33.6025)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B409E #539E40
analogous
#5C409E #8B409E #9E4082
triadic
#8B409E #9E8B40 #409E8B
tetradic
#8B409E #9E5C40 #539E40 #40829E
square
#8B409E #9E5C40 #539E40 #40829E
split-complementary
#8B409E #829E40 #409E5C
monochromatic
#3E1D47 #652E72 #8B409E #AA5EBE #C189CF

Accessibility & contrast

On white

6.32
#8B409E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8B409E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B409E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B409E#FFFFFF#000000##FFFFFF
##8B409E1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA1
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#8B4F69
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b409e;
/* rgb */ color: rgb(139, 64, 158);
/* oklch */ color: oklch(50.8% 0.160 319.1);
Tailwind
colors: {
  custom: {
    50: '#af79bb',
    500: '#8b409e',
    950: '#000000',
  },
}
SCSS
$custom: #8b409e;
$custom-light: #af79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b409e",
  "rgb": {
    "r": 139,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 287.872,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.15979,
    "h": 319.1
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#8B409E
secondary
#8CBA80
accent
#D2566F
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110912
muted
#807B81

Preview Lab

Preview with #8B409E

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

Preview Lab → · Contrast checker → · Palette generator →

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