#8B3AB9#8B3AB9

#8B3AB9 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.8% C 0.196 H 310.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8B3AB9
RGBrgb(139, 58, 185)
HSLhsl(278, 52%, 48%)
HSVhsv(278, 69%, 73%)
CMYKcmyk(24.9%, 68.6%, 0%, 27.5%)
CIE-LABlab(41.25, 55.12, -52.57)
CIE-LCHlch(41.25, 76.17, 316.36°)
OKLaboklab(51.77% 0.1273 -0.1486)
OKLCHoklch(51.77% 0.196 310.6)
XYZxyz(20.9158, 12.0183, 47.1075)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3AB9 #68B93A
analogous
#4C3AB9 #8B3AB9 #B93AA7
triadic
#8B3AB9 #B98B3A #3AB98B
tetradic
#8B3AB9 #B94C3A #68B93A #3AA7B9
square
#8B3AB9 #B94C3A #68B93A #3AA7B9
split-complementary
#8B3AB9 #A7B93A #3AB94C
monochromatic
#451D5C #682B8A #8B3AB9 #A762CE #C191DC

Accessibility & contrast

On white

6.17
#8B3AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8B3AB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3AB9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3AB9#FFFFFF#000000##FFFFFF
##8B3AB91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2763B6
Tritanopia (blue-blind)
#855575
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8b3ab9;
/* rgb */ color: rgb(139, 58, 185);
/* oklch */ color: oklch(51.8% 0.196 310.6);
Tailwind
colors: {
  custom: {
    50: '#b176cf',
    500: '#8b3ab9',
    950: '#000000',
  },
}
SCSS
$custom: #8b3ab9;
$custom-light: #b176cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3ab9",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 278.268,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.19563,
    "h": 310.6
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#8B3AB9
secondary
#9FC787
accent
#DC4C80
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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