#8B3AB5#8B3AB5

#8B3AB5 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.192 H 311.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8B3AB5
RGBrgb(139, 58, 181)
HSLhsl(280, 51%, 47%)
HSVhsv(280, 68%, 71%)
CMYKcmyk(23.2%, 68%, 0%, 29%)
CIE-LABlab(40.98, 54.25, -50.64)
CIE-LCHlch(40.98, 74.21, 316.97°)
OKLaboklab(51.5% 0.1277 -0.1429)
OKLCHoklch(51.5% 0.192 311.8)
XYZxyz(20.4995, 11.8518, 44.9149)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AB5 #64B53A
analogous
#4E3AB5 #8B3AB5 #B53AA2
triadic
#8B3AB5 #B58B3A #3AB58B
tetradic
#8B3AB5 #B54E3A #64B53A #3AA2B5
square
#8B3AB5 #B54E3A #64B53A #3AA2B5
split-complementary
#8B3AB5 #A2B53A #3AB54E
monochromatic
#441C58 #672B87 #8B3AB5 #A760CC #C18EDB

Accessibility & contrast

On white

6.23
#8B3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8B3AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AB5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AB5#FFFFFF#000000##FFFFFF
##8B3AB51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#2D62B2
Tritanopia (blue-blind)
#865373
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3ab5;
/* rgb */ color: rgb(139, 58, 181);
/* oklch */ color: oklch(51.5% 0.192 311.8);
Tailwind
colors: {
  custom: {
    50: '#b176cc',
    500: '#8b3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ab5;
$custom-light: #b176cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ab5",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 279.512,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.19162,
    "h": 311.8
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#8B3AB5
secondary
#9BC685
accent
#DB4D7D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8B3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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