#8B4BB1#8B4BB1

#8B4BB1 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.163 H 311.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B4BB1
RGBrgb(139, 75, 177)
HSLhsl(278, 40%, 49%)
HSVhsv(278, 58%, 69%)
CMYKcmyk(21.5%, 57.6%, 0%, 30.6%)
CIE-LABlab(43.79, 45.01, -43.78)
CIE-LCHlch(43.79, 62.79, 315.80°)
OKLaboklab(53.46% 0.107 -0.1229)
OKLCHoklch(53.46% 0.163 311)
XYZxyz(21.0979, 13.6959, 43.1186)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BB1 #71B14B
analogous
#584BB1 #8B4BB1 #B14BA4
triadic
#8B4BB1 #B18B4B #4BB18B
tetradic
#8B4BB1 #B1584B #71B14B #4BA4B1
square
#8B4BB1 #B1584B #71B14B #4BA4B1
split-complementary
#8B4BB1 #A4B14B #4BB158
monochromatic
#47275B #693986 #8B4BB1 #A775C4 #C2A0D7

Accessibility & contrast

On white

5.62
#8B4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8B4BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BB1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BB1#FFFFFF#000000##FFFFFF
##8B4BB11.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#4269AE
Tritanopia (blue-blind)
#865D77
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b4bb1;
/* rgb */ color: rgb(139, 75, 177);
/* oklch */ color: oklch(53.5% 0.163 311.0);
Tailwind
colors: {
  custom: {
    50: '#b080c9',
    500: '#8b4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bb1;
$custom-light: #b080c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bb1",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 277.647,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.16294,
    "h": 311
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#8B4BB1
secondary
#A6C394
accent
#D05784
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8B4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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