#8B4EAA#8B4EAA

#8B4EAA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.150 H 313.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8B4EAA
RGBrgb(139, 78, 170)
HSLhsl(280, 37%, 49%)
HSVhsv(280, 54%, 67%)
CMYKcmyk(18.2%, 54.1%, 0%, 33.3%)
CIE-LABlab(44.00, 41.83, -39.32)
CIE-LCHlch(44.00, 57.41, 316.78°)
OKLaboklab(53.48% 0.1025 -0.1099)
OKLCHoklch(53.48% 0.15 313)
XYZxyz(20.6263, 13.8405, 39.6074)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4EAA #6DAA4E
analogous
#5D4EAA #8B4EAA #AA4E9B
triadic
#8B4EAA #AA8B4E #4EAA8B
tetradic
#8B4EAA #AA5D4E #6DAA4E #4E9BAA
square
#8B4EAA #AA5D4E #6DAA4E #4E9BAA
split-complementary
#8B4EAA #9BAA4E #4EAA5D
monochromatic
#462856 #693B80 #8B4EAA #A775C0 #C29FD3

Accessibility & contrast

On white

5.57
#8B4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B4EAA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4EAA#FFFFFF#000000##FFFFFF
##8B4EAA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#4A69A8
Tritanopia (blue-blind)
#885D74
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4eaa;
/* rgb */ color: rgb(139, 78, 170);
/* oklch */ color: oklch(53.5% 0.150 313.0);
Tailwind
colors: {
  custom: {
    50: '#af82c4',
    500: '#8b4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #8b4eaa;
$custom-light: #af82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4eaa",
  "rgb": {
    "r": 139,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 279.783,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.53483,
    "c": 0.15029,
    "h": 313
  },
  "luminance": 0.1384
}

Semantic roles & 50–950 ramp

primary
#8B4EAA
secondary
#A3C094
accent
#CD5B81
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #8B4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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