#8B3BBA#8B3BBA

#8B3BBA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 52.0% C 0.195 H 310.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B3BBA
RGBrgb(139, 59, 186)
HSLhsl(278, 52%, 48%)
HSVhsv(278, 68%, 73%)
CMYKcmyk(25.3%, 68.3%, 0%, 27.1%)
CIE-LABlab(41.47, 54.89, -52.79)
CIE-LCHlch(41.47, 76.15, 316.12°)
OKLaboklab(51.96% 0.1261 -0.1492)
OKLCHoklch(51.96% 0.195 310.2)
XYZxyz(21.0726, 12.1625, 47.6824)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3BBA #6ABA3B
analogous
#4B3BBA #8B3BBA #BA3BAA
triadic
#8B3BBA #BA8B3B #3BBA8B
tetradic
#8B3BBA #BA4B3B #6ABA3B #3BAABA
square
#8B3BBA #BA4B3B #6ABA3B #3BAABA
split-complementary
#8B3BBA #AABA3B #3BBA4B
monochromatic
#461E5D #682C8C #8B3BBA #A764CE #C193DD

Accessibility & contrast

On white

6.12
#8B3BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8B3BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3BBA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3BBA#FFFFFF#000000##FFFFFF
##8B3BBA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#2763B7
Tritanopia (blue-blind)
#855676
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3bba;
/* rgb */ color: rgb(139, 59, 186);
/* oklch */ color: oklch(52.0% 0.195 310.2);
Tailwind
colors: {
  custom: {
    50: '#b177cf',
    500: '#8b3bba',
    950: '#000000',
  },
}
SCSS
$custom: #8b3bba;
$custom-light: #b177cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3bba",
  "rgb": {
    "r": 139,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 277.795,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.19535,
    "h": 310.2
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#8B3BBA
secondary
#A0C889
accent
#DB4D81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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