#8B4FD6#8B4FD6

#8B4FD6 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.199 H 300.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD6
RGBrgb(139, 79, 214)
HSLhsl(267, 62%, 57%)
HSVhsv(267, 63%, 84%)
CMYKcmyk(35%, 63.1%, 0%, 16.1%)
CIE-LABlab(46.89, 51.73, -60.26)
CIE-LCHlch(46.89, 79.42, 310.65°)
OKLaboklab(56.45% 0.1012 -0.1713)
OKLCHoklch(56.45% 0.199 300.6)
XYZxyz(25.5781, 15.9358, 65.3336)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD6 #9AD64F
analogous
#4F56D6 #8B4FD6 #CF4FD6
triadic
#8B4FD6 #D68B4F #4FD68B
tetradic
#8B4FD6 #D64F56 #9AD64F #4FD6CF
square
#8B4FD6 #D64F56 #9AD64F #4FD6CF
split-complementary
#8B4FD6 #D6CF4F #56D64F
monochromatic
#4F208A #6C2CBC #8B4FD6 #AC81E2 #CCB2ED

Accessibility & contrast

On white

5.02
#8B4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8B4FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD6#FFFFFF#000000##FFFFFF
##8B4FD61.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#176ED3
Tritanopia (blue-blind)
#7B6D8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4fd6;
/* rgb */ color: rgb(139, 79, 214);
/* oklch */ color: oklch(56.5% 0.199 300.6);
Tailwind
colors: {
  custom: {
    50: '#b284e3',
    500: '#8b4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd6;
$custom-light: #b284e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd6",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 266.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.19894,
    "h": 300.6
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#8B4FD6
secondary
#C3DCA5
accent
#E5439D
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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