#8B4E8D#8B4E8D

#8B4E8D is a mid, moderate purple. Relative luminance 0.129; OKLCH L 51.9% C 0.119 H 326.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8B4E8D
RGBrgb(139, 78, 141)
HSLhsl(298, 29%, 43%)
HSVhsv(298, 45%, 55%)
CMYKcmyk(1.4%, 44.7%, 0%, 44.7%)
CIE-LABlab(42.55, 35.69, -24.26)
CIE-LCHlch(42.55, 43.16, 325.80°)
OKLaboklab(51.94% 0.0984 -0.0664)
OKLCHoklch(51.94% 0.119 326)
XYZxyz(18.1792, 12.8617, 26.7191)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4E8D #508D4E
analogous
#6B4E8D #8B4E8D #8D4E6F
triadic
#8B4E8D #8D8B4E #4E8D8B
tetradic
#8B4E8D #8D6B4E #508D4E #4E6F8D
square
#8B4E8D #8D6B4E #508D4E #4E6F8D
split-complementary
#8B4E8D #6F8D4E #4E8D6B
monochromatic
#3D223E #643866 #8B4E8D #AB6BAD #C192C3

Accessibility & contrast

On white

5.88
#8B4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8B4E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4E8D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4E8D#FFFFFF#000000##FFFFFF
##8B4E8D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#8E5567
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b4e8d;
/* rgb */ color: rgb(139, 78, 141);
/* oklch */ color: oklch(51.9% 0.119 326.0);
Tailwind
colors: {
  custom: {
    50: '#ae81ae',
    500: '#8b4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #8b4e8d;
$custom-light: #ae81ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4e8d",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 298.095,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.11868,
    "h": 326
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#8B4E8D
secondary
#89AF87
accent
#C56366
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#100A10
muted
#7F7C7F

Preview Lab

Preview with #8B4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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