#8B4ABA#8B4ABA

#8B4ABA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.174 H 308.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8B4ABA
RGBrgb(139, 74, 186)
HSLhsl(275, 45%, 51%)
HSVhsv(275, 60%, 73%)
CMYKcmyk(25.3%, 60.2%, 0%, 27.1%)
CIE-LABlab(44.14, 47.59, -48.51)
CIE-LCHlch(44.14, 67.96, 314.45°)
OKLaboklab(53.88% 0.1084 -0.1367)
OKLCHoklch(53.88% 0.174 308.4)
XYZxyz(21.9574, 13.9320, 47.9773)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ABA #79BA4A
analogous
#534ABA #8B4ABA #BA4AB1
triadic
#8B4ABA #BA8B4A #4ABA8B
tetradic
#8B4ABA #BA534A #79BA4A #4AB1BA
square
#8B4ABA #BA534A #79BA4A #4AB1BA
split-complementary
#8B4ABA #B1BA4A #4ABA53
monochromatic
#4A2664 #6B3790 #8B4ABA #A776CB #C4A3DC

Accessibility & contrast

On white

5.55
#8B4ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8B4ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ABA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ABA#FFFFFF#000000##FFFFFF
##8B4ABA1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#3A69B7
Tritanopia (blue-blind)
#84607B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4aba;
/* rgb */ color: rgb(139, 74, 186);
/* oklch */ color: oklch(53.9% 0.174 308.4);
Tailwind
colors: {
  custom: {
    50: '#b080cf',
    500: '#8b4aba',
    950: '#000000',
  },
}
SCSS
$custom: #8b4aba;
$custom-light: #b080cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4aba",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 274.821,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53879,
    "c": 0.17449,
    "h": 308.4
  },
  "luminance": 0.13932
}

Semantic roles & 50–950 ramp

primary
#8B4ABA
secondary
#ACC997
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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