#8B4BB7#8B4BB7

#8B4BB7 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.8% C 0.170 H 309.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#8B4BB7
RGBrgb(139, 75, 183)
HSLhsl(276, 43%, 51%)
HSVhsv(276, 59%, 72%)
CMYKcmyk(24%, 59%, 0%, 28.2%)
CIE-LABlab(44.15, 46.38, -46.73)
CIE-LCHlch(44.15, 65.84, 314.78°)
OKLaboklab(53.83% 0.1071 -0.1315)
OKLCHoklch(53.83% 0.17 309.2)
XYZxyz(21.7091, 13.9404, 46.3377)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BB7 #77B74B
analogous
#554BB7 #8B4BB7 #B74BAD
triadic
#8B4BB7 #B78B4B #4BB78B
tetradic
#8B4BB7 #B7554B #77B74B #4BADB7
square
#8B4BB7 #B7554B #77B74B #4BADB7
split-complementary
#8B4BB7 #ADB74B #4BB755
monochromatic
#492761 #6A388D #8B4BB7 #A777C8 #C3A2DA

Accessibility & contrast

On white

5.54
#8B4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B4BB7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BB7#FFFFFF#000000##FFFFFF
##8B4BB71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BA
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#855F7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8b4bb7;
/* rgb */ color: rgb(139, 75, 183);
/* oklch */ color: oklch(53.8% 0.170 309.2);
Tailwind
colors: {
  custom: {
    50: '#b080cd',
    500: '#8b4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bb7;
$custom-light: #b080cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bb7",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 275.556,
    "s": 42.857,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.16964,
    "h": 309.2
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#8B4BB7
secondary
#AAC797
accent
#D35588
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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