#8B4FDC#8B4FDC

#8B4FDC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.206 H 299.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8B4FDC
RGBrgb(139, 79, 220)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 64%, 86%)
CMYKcmyk(36.8%, 64.1%, 0%, 13.7%)
CIE-LABlab(47.30, 53.22, -63.02)
CIE-LCHlch(47.30, 82.49, 310.18°)
OKLaboklab(56.88% 0.1007 -0.1794)
OKLCHoklch(56.88% 0.206 299.3)
XYZxyz(26.3585, 16.2480, 69.4437)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FDC #A0DC4F
analogous
#4F59DC #8B4FDC #D24FDC
triadic
#8B4FDC #DC8B4F #4FDC8B
tetradic
#8B4FDC #DC4F59 #A0DC4F #4FDCD2
square
#8B4FDC #DC4F59 #A0DC4F #4FDCD2
split-complementary
#8B4FDC #DCD24F #59DC4F
monochromatic
#501D93 #6B27C6 #8B4FDC #AD82E6 #CEB5F0

Accessibility & contrast

On white

4.94
#8B4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8B4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FDC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FDC#FFFFFF#000000##FFFFFF
##8B4FDC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#796F8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4fdc;
/* rgb */ color: rgb(139, 79, 220);
/* oklch */ color: oklch(56.9% 0.206 299.3);
Tailwind
colors: {
  custom: {
    50: '#b284e8',
    500: '#8b4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fdc;
$custom-light: #b284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fdc",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 265.532,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.20572,
    "h": 299.3
  },
  "luminance": 0.16248
}

Semantic roles & 50–950 ramp

primary
#8B4FDC
secondary
#C8DFA8
accent
#EA3EA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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