#8B5ABE#8B5ABE

#8B5ABE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.154 H 304.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8B5ABE
RGBrgb(139, 90, 190)
HSLhsl(269, 43%, 55%)
HSVhsv(269, 53%, 75%)
CMYKcmyk(26.8%, 52.6%, 0%, 25.5%)
CIE-LABlab(47.65, 39.90, -45.23)
CIE-LCHlch(47.65, 60.31, 311.42°)
OKLaboklab(56.53% 0.0876 -0.1272)
OKLCHoklch(56.53% 0.154 304.6)
XYZxyz(23.5959, 16.5191, 50.6506)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5ABE #8DBE5A
analogous
#5A5BBE #8B5ABE #BD5ABE
triadic
#8B5ABE #BE8B5A #5ABE8B
tetradic
#8B5ABE #BE5A5B #8DBE5A #5ABEBD
square
#8B5ABE #BE5A5B #8DBE5A #5ABEBD
split-complementary
#8B5ABE #BEBD5A #5BBE5A
monochromatic
#4E2D71 #6C3E9D #8B5ABE #AA86CF #C9B2E1

Accessibility & contrast

On white

4.88
#8B5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8B5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5ABE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5ABE#FFFFFF#000000##FFFFFF
##8B5ABE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C1
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#826C83
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b5abe;
/* rgb */ color: rgb(139, 90, 190);
/* oklch */ color: oklch(56.5% 0.154 304.6);
Tailwind
colors: {
  custom: {
    50: '#af8ad2',
    500: '#8b5abe',
    950: '#000000',
  },
}
SCSS
$custom: #8b5abe;
$custom-light: #af8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5abe",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 269.4,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56534,
    "c": 0.15445,
    "h": 304.6
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#8B5ABE
secondary
#BACFA5
accent
#D35595
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8B5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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