#8B4591#8B4591

#8B4591 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.8% C 0.139 H 324.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8B4591
RGBrgb(139, 69, 145)
HSLhsl(295, 36%, 42%)
HSVhsv(295, 52%, 57%)
CMYKcmyk(4.1%, 52.4%, 0%, 43.1%)
CIE-LABlab(40.88, 41.35, -29.29)
CIE-LCHlch(40.88, 50.67, 324.69°)
OKLaboklab(50.76% 0.1126 -0.0808)
OKLCHoklch(50.76% 0.139 324.3)
XYZxyz(17.8860, 11.7904, 28.1162)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4591 #4B9145
analogous
#654591 #8B4591 #914571
triadic
#8B4591 #918B45 #45918B
tetradic
#8B4591 #916545 #4B9145 #457191
square
#8B4591 #916545 #4B9145 #457191
split-complementary
#8B4591 #719145 #459165
monochromatic
#3B1E3E #633168 #8B4591 #AD60B3 #C289C7

Accessibility & contrast

On white

6.25
#8B4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4591
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4591#FFFFFF#000000##FFFFFF
##8B45911.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B94
Deuteranopia (green-blind)
#51638F
Tritanopia (blue-blind)
#8E4E64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b4591;
/* rgb */ color: rgb(139, 69, 145);
/* oklch */ color: oklch(50.8% 0.139 324.3);
Tailwind
colors: {
  custom: {
    50: '#af7cb1',
    500: '#8b4591',
    950: '#000000',
  },
}
SCSS
$custom: #8b4591;
$custom-light: #af7cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4591",
  "rgb": {
    "r": 139,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 295.263,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.13853,
    "h": 324.3
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#8B4591
secondary
#84B280
accent
#CC5C65
background
#FAF7FA
surface
#F5EEF5
border
#CFC9CF
text
#110A11
muted
#807C80

Preview Lab

Preview with #8B4591

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

Preview Lab → · Contrast checker → · Palette generator →

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