#8B5AB2#8B5AB2

#8B5AB2 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.140 H 308.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8B5AB2
RGBrgb(139, 90, 178)
HSLhsl(273, 36%, 53%)
HSVhsv(273, 49%, 70%)
CMYKcmyk(21.9%, 49.4%, 0%, 30.2%)
CIE-LABlab(47.00, 37.03, -39.28)
CIE-LCHlch(47.00, 53.98, 313.31°)
OKLaboklab(55.84% 0.0865 -0.1098)
OKLCHoklch(55.84% 0.14 308.2)
XYZxyz(22.3379, 16.0159, 44.0255)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AB2 #81B25A
analogous
#5F5AB2 #8B5AB2 #B25AAD
triadic
#8B5AB2 #B28B5A #5AB28B
tetradic
#8B5AB2 #B25F5A #81B25A #5AADB2
square
#8B5AB2 #B25F5A #81B25A #5AADB2
split-complementary
#8B5AB2 #ADB25A #5AB25F
monochromatic
#4C2E63 #6C428D #8B5AB2 #A884C5 #C6ADD9

Accessibility & contrast

On white

5.00
#8B5AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8B5AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5AB2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AB2#FFFFFF#000000##FFFFFF
##8B5AB21.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436DB5
Deuteranopia (green-blind)
#5170B0
Tritanopia (blue-blind)
#86697E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b5ab2;
/* rgb */ color: rgb(139, 90, 178);
/* oklch */ color: oklch(55.8% 0.140 308.2);
Tailwind
colors: {
  custom: {
    50: '#af8ac9',
    500: '#8b5ab2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ab2;
$custom-light: #af8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ab2",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 178
  },
  "hsl": {
    "h": 273.409,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.13979,
    "h": 308.2
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#8B5AB2
secondary
#B2C7A1
accent
#CC5B8D
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8B5AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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