#8B4699#8B4699

#8B4699 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.3% C 0.145 H 320.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B4699
RGBrgb(139, 70, 153)
HSLhsl(290, 37%, 44%)
HSVhsv(290, 54%, 60%)
CMYKcmyk(9.2%, 54.2%, 0%, 40%)
CIE-LABlab(41.48, 42.44, -33.16)
CIE-LCHlch(41.48, 53.86, 321.99°)
OKLaboklab(51.33% 0.1121 -0.092)
OKLCHoklch(51.33% 0.145 320.6)
XYZxyz(18.5867, 12.1700, 31.5008)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4699 #549946
analogous
#614699 #8B4699 #99467D
triadic
#8B4699 #998B46 #46998B
tetradic
#8B4699 #996146 #549946 #467D99
square
#8B4699 #996146 #549946 #467D99
split-complementary
#8B4699 #7D9946 #469961
monochromatic
#3F2045 #65336F #8B4699 #AA64B8 #C18ECB

Accessibility & contrast

On white

6.12
#8B4699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B4699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4699
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4699#FFFFFF#000000##FFFFFF
##8B46991.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9C
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#8C5269
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b4699;
/* rgb */ color: rgb(139, 70, 153);
/* oklch */ color: oklch(51.3% 0.145 320.6);
Tailwind
colors: {
  custom: {
    50: '#af7db7',
    500: '#8b4699',
    950: '#000000',
  },
}
SCSS
$custom: #8b4699;
$custom-light: #af7db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4699",
  "rgb": {
    "r": 139,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 289.88,
    "s": 37.22,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.14503,
    "h": 320.6
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#8B4699
secondary
#8DB784
accent
#CD5B6E
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8B4699

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

Preview Lab → · Contrast checker → · Palette generator →

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