#8B4AC8#8B4AC8

#8B4AC8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.190 H 304.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8B4AC8
RGBrgb(139, 74, 200)
HSLhsl(271, 53%, 54%)
HSVhsv(271, 63%, 78%)
CMYKcmyk(30.5%, 63%, 0%, 21.6%)
CIE-LABlab(45.02, 50.88, -55.23)
CIE-LCHlch(45.02, 75.09, 312.66°)
OKLaboklab(54.81% 0.1079 -0.1564)
OKLCHoklch(54.81% 0.19 304.6)
XYZxyz(23.5192, 14.5568, 56.2031)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AC8 #87C84A
analogous
#4C4AC8 #8B4AC8 #C84AC6
triadic
#8B4AC8 #C88B4A #4AC88B
tetradic
#8B4AC8 #C84C4A #87C84A #4AC6C8
square
#8B4AC8 #C84C4A #87C84A #4AC6C8
split-complementary
#8B4AC8 #C6C84A #4AC84C
monochromatic
#4D2374 #6C32A3 #8B4AC8 #A979D6 #C7A8E5

Accessibility & contrast

On white

5.37
#8B4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8B4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AC8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AC8#FFFFFF#000000##FFFFFF
##8B4AC81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#296BC5
Tritanopia (blue-blind)
#806482
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b4ac8;
/* rgb */ color: rgb(139, 74, 200);
/* oklch */ color: oklch(54.8% 0.190 304.6);
Tailwind
colors: {
  custom: {
    50: '#b180d9',
    500: '#8b4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ac8;
$custom-light: #b180d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ac8",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 270.952,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54805,
    "c": 0.19006,
    "h": 304.6
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#8B4AC8
secondary
#B6D29C
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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