#8B3ABA#8B3ABA

#8B3ABA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.8% C 0.197 H 310.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8B3ABA
RGBrgb(139, 58, 186)
HSLhsl(278, 52%, 48%)
HSVhsv(278, 69%, 73%)
CMYKcmyk(25.3%, 68.8%, 0%, 27.1%)
CIE-LABlab(41.31, 55.34, -53.05)
CIE-LCHlch(41.31, 76.66, 316.21°)
OKLaboklab(51.84% 0.1272 -0.15)
OKLCHoklch(51.84% 0.197 310.3)
XYZxyz(21.0217, 12.0607, 47.6654)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ABA #69BA3A
analogous
#4B3ABA #8B3ABA #BA3AA9
triadic
#8B3ABA #BA8B3A #3ABA8B
tetradic
#8B3ABA #BA4B3A #69BA3A #3AA9BA
square
#8B3ABA #BA4B3A #69BA3A #3AA9BA
split-complementary
#8B3ABA #A9BA3A #3ABA4B
monochromatic
#451D5D #682B8B #8B3ABA #A763CE #C192DD

Accessibility & contrast

On white

6.15
#8B3ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8B3ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ABA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ABA#FFFFFF#000000##FFFFFF
##8B3ABA1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2663B7
Tritanopia (blue-blind)
#855576
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3aba;
/* rgb */ color: rgb(139, 58, 186);
/* oklch */ color: oklch(51.8% 0.197 310.3);
Tailwind
colors: {
  custom: {
    50: '#b176cf',
    500: '#8b3aba',
    950: '#000000',
  },
}
SCSS
$custom: #8b3aba;
$custom-light: #b176cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3aba",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 277.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.19663,
    "h": 310.3
  },
  "luminance": 0.1206
}

Semantic roles & 50–950 ramp

primary
#8B3ABA
secondary
#9FC888
accent
#DC4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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