#8B5AA2#8B5AA2

#8B5AA2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.0% C 0.120 H 314.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#8B5AA2
RGBrgb(139, 90, 162)
HSLhsl(281, 29%, 49%)
HSVhsv(281, 44%, 64%)
CMYKcmyk(14.2%, 44.4%, 0%, 36.5%)
CIE-LABlab(46.19, 33.36, -31.14)
CIE-LCHlch(46.19, 45.63, 316.97°)
OKLaboklab(54.97% 0.0841 -0.0862)
OKLCHoklch(54.97% 0.12 314.3)
XYZxyz(20.8242, 15.4104, 36.0529)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AA2 #71A25A
analogous
#675AA2 #8B5AA2 #A25A95
triadic
#8B5AA2 #A28B5A #5AA28B
tetradic
#8B5AA2 #A2675A #71A25A #5A95A2
square
#8B5AA2 #A2675A #71A25A #5A95A2
split-complementary
#8B5AA2 #95A25A #5AA267
monochromatic
#472E53 #69447B #8B5AA2 #A780B9 #C2A8CF

Accessibility & contrast

On white

5.14
#8B5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B5AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5AA2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AA2#FFFFFF#000000##FFFFFF
##8B5AA21.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA5
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#896476
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b5aa2;
/* rgb */ color: rgb(139, 90, 162);
/* oklch */ color: oklch(55.0% 0.120 314.3);
Tailwind
colors: {
  custom: {
    50: '#ae8abe',
    500: '#8b5aa2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5aa2;
$custom-light: #ae8abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5aa2",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 280.833,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.12046,
    "h": 314.3
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#8B5AA2
secondary
#A6BD9B
accent
#C56382
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8B5AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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