#8B4AC2#8B4AC2

#8B4AC2 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.183 H 306.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8B4AC2
RGBrgb(139, 74, 194)
HSLhsl(273, 50%, 53%)
HSVhsv(273, 62%, 76%)
CMYKcmyk(28.4%, 61.9%, 0%, 23.9%)
CIE-LABlab(44.63, 49.46, -52.37)
CIE-LCHlch(44.63, 72.03, 313.36°)
OKLaboklab(54.4% 0.1082 -0.1481)
OKLCHoklch(54.4% 0.183 306.2)
XYZxyz(22.8318, 14.2818, 52.5823)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AC2 #81C24A
analogous
#4F4AC2 #8B4AC2 #C24ABD
triadic
#8B4AC2 #C28B4A #4AC28B
tetradic
#8B4AC2 #C24F4A #81C24A #4ABDC2
square
#8B4AC2 #C24F4A #81C24A #4ABDC2
split-complementary
#8B4AC2 #BDC24A #4AC24F
monochromatic
#4C256D #6C349B #8B4AC2 #A878D1 #C6A6E1

Accessibility & contrast

On white

5.45
#8B4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8B4AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AC2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AC2#FFFFFF#000000##FFFFFF
##8B4AC21.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0367C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#82627F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b4ac2;
/* rgb */ color: rgb(139, 74, 194);
/* oklch */ color: oklch(54.4% 0.183 306.2);
Tailwind
colors: {
  custom: {
    50: '#b180d5',
    500: '#8b4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ac2;
$custom-light: #b180d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ac2",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 272.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.18339,
    "h": 306.2
  },
  "luminance": 0.14282
}

Semantic roles & 50–950 ramp

primary
#8B4AC2
secondary
#B2CE9A
accent
#D94F8E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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