#8B4E99#8B4E99

#8B4E99 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 52.5% C 0.131 H 319.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8B4E99
RGBrgb(139, 78, 153)
HSLhsl(289, 32%, 45%)
HSVhsv(289, 49%, 60%)
CMYKcmyk(9.2%, 49%, 0%, 40%)
CIE-LABlab(43.12, 38.14, -30.59)
CIE-LCHlch(43.12, 48.90, 321.27°)
OKLaboklab(52.54% 0.1005 -0.0846)
OKLCHoklch(52.54% 0.131 319.9)
XYZxyz(19.1209, 13.2384, 31.6789)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4E99 #5C994E
analogous
#654E99 #8B4E99 #994E81
triadic
#8B4E99 #998B4E #4E998B
tetradic
#8B4E99 #99654E #5C994E #4E8199
square
#8B4E99 #99654E #5C994E #4E8199
split-complementary
#8B4E99 #81994E #4E9965
monochromatic
#412548 #663970 #8B4E99 #A86FB5 #C197CA

Accessibility & contrast

On white

5.76
#8B4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8B4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4E99
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4E99#FFFFFF#000000##FFFFFF
##8B4E991.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#8C586C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8b4e99;
/* rgb */ color: rgb(139, 78, 153);
/* oklch */ color: oklch(52.5% 0.131 319.9);
Tailwind
colors: {
  custom: {
    50: '#ae82b7',
    500: '#8b4e99',
    950: '#000000',
  },
}
SCSS
$custom: #8b4e99;
$custom-light: #ae82b7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4e99",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 288.8,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.13139,
    "h": 319.9
  },
  "luminance": 0.13238
}

Semantic roles & 50–950 ramp

primary
#8B4E99
secondary
#94B78C
accent
#C95F73
background
#FAF8FB
surface
#F5EFF6
border
#CFCAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #8B4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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