#8B3ABB#8B3ABB

#8B3ABB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.9% C 0.198 H 310.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#8B3ABB
RGBrgb(139, 58, 187)
HSLhsl(278, 53%, 48%)
HSVhsv(278, 69%, 73%)
CMYKcmyk(25.7%, 69%, 0%, 26.7%)
CIE-LABlab(41.38, 55.56, -53.52)
CIE-LCHlch(41.38, 77.15, 316.07°)
OKLaboklab(51.91% 0.1271 -0.1514)
OKLCHoklch(51.91% 0.198 310)
XYZxyz(21.1284, 12.1034, 48.2272)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B3ABB #6ABB3A
analogous
#4A3ABB #8B3ABB #BB3AAB
triadic
#8B3ABB #BB8B3A #3ABB8B
tetradic
#8B3ABB #BB4A3A #6ABB3A #3AABBB
square
#8B3ABB #BB4A3A #6ABB3A #3AABBB
split-complementary
#8B3ABB #ABBB3A #3ABB4A
monochromatic
#461D5E #682C8C #8B3ABB #A763CF #C192DD

Accessibility & contrast

On white

6.14
#8B3ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8B3ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B3ABB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B3ABB#FFFFFF#000000##FFFFFF
##8B3ABB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#2463B8
Tritanopia (blue-blind)
#845676
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8b3abb;
/* rgb */ color: rgb(139, 58, 187);
/* oklch */ color: oklch(51.9% 0.198 310.0);
Tailwind
colors: {
  custom: {
    50: '#b177d0',
    500: '#8b3abb',
    950: '#000000',
  },
}
SCSS
$custom: #8b3abb;
$custom-light: #b177d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b3abb",
  "rgb": {
    "r": 139,
    "g": 58,
    "b": 187
  },
  "hsl": {
    "h": 277.674,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.19764,
    "h": 310
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

primary
#8B3ABB
secondary
#A0C888
accent
#DC4C81
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8B3ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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