#8B4E87#8B4E87

#8B4E87 is a mid, moderate purple. Relative luminance 0.127; OKLCH L 51.7% C 0.113 H 329.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8B4E87
RGBrgb(139, 78, 135)
HSLhsl(304, 28%, 43%)
HSVhsv(304, 44%, 55%)
CMYKcmyk(0%, 43.9%, 2.9%, 45.5%)
CIE-LABlab(42.29, 34.52, -21.03)
CIE-LCHlch(42.29, 40.43, 328.65°)
OKLaboklab(51.65% 0.097 -0.0572)
OKLCHoklch(51.65% 0.113 329.5)
XYZxyz(17.7448, 12.6879, 24.4313)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4E87 #4E8B52
analogous
#704E8B #8B4E87 #8B4E69
triadic
#8B4E87 #878B4E #4E878B
tetradic
#8B4E87 #8B704E #4E8B52 #4E698B
square
#8B4E87 #8B704E #4E8B52 #4E698B
split-complementary
#8B4E87 #698B4E #4E8B70
monochromatic
#3D223B #643861 #8B4E87 #AC6BA7 #C292BF

Accessibility & contrast

On white

5.94
#8B4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8B4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4E87
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4E87#FFFFFF#000000##FFFFFF
##8B4E871.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F89
Deuteranopia (green-blind)
#5B6785
Tritanopia (blue-blind)
#8F5364
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b4e87;
/* rgb */ color: rgb(139, 78, 135);
/* oklch */ color: oklch(51.7% 0.113 329.5);
Tailwind
colors: {
  custom: {
    50: '#ae81aa',
    500: '#8b4e87',
    950: '#000000',
  },
}
SCSS
$custom: #8b4e87;
$custom-light: #ae81aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4e87",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 303.934,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.11265,
    "h": 329.5
  },
  "luminance": 0.12687
}

Semantic roles & 50–950 ramp

primary
#8B4E87
secondary
#87AE89
accent
#C46A63
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8B4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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