#8B4ABE#8B4ABE

#8B4ABE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.1% C 0.179 H 307.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8B4ABE
RGBrgb(139, 74, 190)
HSLhsl(274, 47%, 52%)
HSVhsv(274, 61%, 75%)
CMYKcmyk(26.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(44.38, 48.52, -50.45)
CIE-LCHlch(44.38, 70.00, 313.89°)
OKLaboklab(54.14% 0.1083 -0.1424)
OKLCHoklch(54.14% 0.179 307.3)
XYZxyz(22.3886, 14.1045, 50.2482)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ABE #7DBE4A
analogous
#514ABE #8B4ABE #BE4AB7
triadic
#8B4ABE #BE8B4A #4ABE8B
tetradic
#8B4ABE #BE514A #7DBE4A #4AB7BE
square
#8B4ABE #BE514A #7DBE4A #4AB7BE
split-complementary
#8B4ABE #B7BE4A #4ABE51
monochromatic
#4B2568 #6B3695 #8B4ABE #A877CE #C5A4DE

Accessibility & contrast

On white

5.50
#8B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8B4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ABE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ABE#FFFFFF#000000##FFFFFF
##8B4ABE1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#83617D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b4abe;
/* rgb */ color: rgb(139, 74, 190);
/* oklch */ color: oklch(54.1% 0.179 307.3);
Tailwind
colors: {
  custom: {
    50: '#b080d2',
    500: '#8b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #8b4abe;
$custom-light: #b080d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4abe",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 273.621,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.17894,
    "h": 307.3
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#8B4ABE
secondary
#AFCB98
accent
#D7518C
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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