#8B4ABB#8B4ABB

#8B4ABB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.176 H 308.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B4ABB
RGBrgb(139, 74, 187)
HSLhsl(275, 45%, 51%)
HSVhsv(275, 60%, 73%)
CMYKcmyk(25.7%, 60.4%, 0%, 26.7%)
CIE-LABlab(44.20, 47.82, -49.00)
CIE-LCHlch(44.20, 68.47, 314.31°)
OKLaboklab(53.94% 0.1084 -0.1382)
OKLCHoklch(53.94% 0.176 308.1)
XYZxyz(22.0641, 13.9747, 48.5391)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4ABB #7ABB4A
analogous
#524ABB #8B4ABB #BB4AB3
triadic
#8B4ABB #BB8B4A #4ABB8B
tetradic
#8B4ABB #BB524A #7ABB4A #4AB3BB
square
#8B4ABB #BB524A #7ABB4A #4AB3BB
split-complementary
#8B4ABB #B3BB4A #4ABB52
monochromatic
#4A2665 #6B3791 #8B4ABB #A876CC #C4A3DC

Accessibility & contrast

On white

5.53
#8B4ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8B4ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4ABB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4ABB#FFFFFF#000000##FFFFFF
##8B4ABB1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#3969B8
Tritanopia (blue-blind)
#84607B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4abb;
/* rgb */ color: rgb(139, 74, 187);
/* oklch */ color: oklch(53.9% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#b080d0',
    500: '#8b4abb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4abb;
$custom-light: #b080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4abb",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 274.513,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53943,
    "c": 0.1756,
    "h": 308.1
  },
  "luminance": 0.13974
}

Semantic roles & 50–950 ramp

primary
#8B4ABB
secondary
#ADC997
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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