#8B4FC0#8B4FC0

#8B4FC0 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.174 H 306.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8B4FC0
RGBrgb(139, 79, 192)
HSLhsl(272, 47%, 53%)
HSVhsv(272, 59%, 75%)
CMYKcmyk(27.6%, 58.9%, 0%, 24.7%)
CIE-LABlab(45.48, 46.38, -49.85)
CIE-LCHlch(45.48, 68.09, 312.93°)
OKLaboklab(54.98% 0.1021 -0.1407)
OKLCHoklch(54.98% 0.174 306)
XYZxyz(22.9558, 14.8869, 51.5231)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FC0 #84C04F
analogous
#524FC0 #8B4FC0 #C04FBD
triadic
#8B4FC0 #C08B4F #4FC08B
tetradic
#8B4FC0 #C0524F #84C04F #4FBDC0
square
#8B4FC0 #C0524F #84C04F #4FBDC0
split-complementary
#8B4FC0 #BDC04F #4FC052
monochromatic
#4C276D #6C379A #8B4FC0 #A97CD0 #C6A9E0

Accessibility & contrast

On white

5.28
#8B4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8B4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FC0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FC0#FFFFFF#000000##FFFFFF
##8B4FC01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6AC4
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#826580
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4fc0;
/* rgb */ color: rgb(139, 79, 192);
/* oklch */ color: oklch(55.0% 0.174 306.0);
Tailwind
colors: {
  custom: {
    50: '#b083d4',
    500: '#8b4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fc0;
$custom-light: #b083d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fc0",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 271.858,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.17382,
    "h": 306
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#8B4FC0
secondary
#B4CE9D
accent
#D75190
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8B4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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