#8B4FA7#8B4FA7

#8B4FA7 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.5% C 0.145 H 314.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8B4FA7
RGBrgb(139, 79, 167)
HSLhsl(281, 36%, 48%)
HSVhsv(281, 53%, 65%)
CMYKcmyk(16.8%, 52.7%, 0%, 34.5%)
CIE-LABlab(44.05, 40.62, -37.47)
CIE-LCHlch(44.05, 55.26, 317.31°)
OKLaboklab(53.46% 0.1009 -0.1045)
OKLCHoklch(53.46% 0.145 314)
XYZxyz(20.4173, 13.8715, 38.1536)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FA7 #6BA74F
analogous
#5F4FA7 #8B4FA7 #A74F97
triadic
#8B4FA7 #A78B4F #4FA78B
tetradic
#8B4FA7 #A75F4F #6BA74F #4F97A7
square
#8B4FA7 #A75F4F #6BA74F #4F97A7
split-complementary
#8B4FA7 #97A74F #4FA75F
monochromatic
#462854 #683B7D #8B4FA7 #A775BE #C19FD2

Accessibility & contrast

On white

5.56
#8B4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8B4FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FA7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FA7#FFFFFF#000000##FFFFFF
##8B4FA71.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#4D6AA5
Tritanopia (blue-blind)
#895D73
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4fa7;
/* rgb */ color: rgb(139, 79, 167);
/* oklch */ color: oklch(53.5% 0.145 314.0);
Tailwind
colors: {
  custom: {
    50: '#af82c1',
    500: '#8b4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fa7;
$custom-light: #af82c1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fa7",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 280.909,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.14525,
    "h": 314
  },
  "luminance": 0.13871
}

Semantic roles & 50–950 ramp

primary
#8B4FA7
secondary
#A1BE93
accent
#CC5C80
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #8B4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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