#8B4FB0#8B4FB0

#8B4FB0 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.155 H 310.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8B4FB0
RGBrgb(139, 79, 176)
HSLhsl(277, 38%, 50%)
HSVhsv(277, 55%, 69%)
CMYKcmyk(21%, 55.1%, 0%, 31%)
CIE-LABlab(44.54, 42.65, -42.00)
CIE-LCHlch(44.54, 59.86, 315.44°)
OKLaboklab(53.99% 0.1016 -0.1177)
OKLCHoklch(53.99% 0.155 310.8)
XYZxyz(21.2785, 14.2159, 42.6889)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FB0 #74B04F
analogous
#5A4FB0 #8B4FB0 #B04FA5
triadic
#8B4FB0 #B08B4F #4FB08B
tetradic
#8B4FB0 #B05A4F #74B04F #4FA5B0
square
#8B4FB0 #B05A4F #74B04F #4FA5B0
split-complementary
#8B4FB0 #A5B04F #4FB05A
monochromatic
#48295C #6A3C86 #8B4FB0 #A779C3 #C3A3D6

Accessibility & contrast

On white

5.46
#8B4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8B4FB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FB0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FB0#FFFFFF#000000##FFFFFF
##8B4FB01.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B3
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#876078
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b4fb0;
/* rgb */ color: rgb(139, 79, 176);
/* oklch */ color: oklch(54.0% 0.155 310.8);
Tailwind
colors: {
  custom: {
    50: '#af83c8',
    500: '#8b4fb0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fb0;
$custom-light: #af83c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fb0",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 176
  },
  "hsl": {
    "h": 277.113,
    "s": 38.039,
    "l": 50
  },
  "oklch": {
    "l": 0.53987,
    "c": 0.15548,
    "h": 310.8
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#8B4FB0
secondary
#A8C398
accent
#CE5A86
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8B4FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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