#8B4AC9#8B4AC9

#8B4AC9 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.191 H 304.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8B4AC9
RGBrgb(139, 74, 201)
HSLhsl(271, 54%, 54%)
HSVhsv(271, 63%, 79%)
CMYKcmyk(30.8%, 63.2%, 0%, 21.2%)
CIE-LABlab(45.09, 51.12, -55.70)
CIE-LCHlch(45.09, 75.60, 312.55°)
OKLaboklab(54.87% 0.1079 -0.1578)
OKLCHoklch(54.87% 0.191 304.3)
XYZxyz(23.6365, 14.6037, 56.8206)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AC9 #88C94A
analogous
#4C4AC9 #8B4AC9 #C94AC8
triadic
#8B4AC9 #C98B4A #4AC98B
tetradic
#8B4AC9 #C94C4A #88C94A #4AC8C9
square
#8B4AC9 #C94C4A #88C94A #4AC8C9
split-complementary
#8B4AC9 #C8C94A #4AC94C
monochromatic
#4D2376 #6C31A5 #8B4AC9 #A979D7 #C7A8E5

Accessibility & contrast

On white

5.36
#8B4AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8B4AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AC9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AC9#FFFFFF#000000##FFFFFF
##8B4AC91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#276BC6
Tritanopia (blue-blind)
#806583
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b4ac9;
/* rgb */ color: rgb(139, 74, 201);
/* oklch */ color: oklch(54.9% 0.191 304.3);
Tailwind
colors: {
  custom: {
    50: '#b180da',
    500: '#8b4ac9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ac9;
$custom-light: #b180da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ac9",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 201
  },
  "hsl": {
    "h": 270.709,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.19117,
    "h": 304.3
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#8B4AC9
secondary
#B7D29C
accent
#DD4A92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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