#8B4FD9#8B4FD9

#8B4FD9 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.202 H 299.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8B4FD9
RGBrgb(139, 79, 217)
HSLhsl(266, 64%, 58%)
HSVhsv(266, 64%, 85%)
CMYKcmyk(35.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(47.09, 52.48, -61.64)
CIE-LCHlch(47.09, 80.95, 310.41°)
OKLaboklab(56.66% 0.101 -0.1753)
OKLCHoklch(56.66% 0.202 299.9)
XYZxyz(25.9648, 16.0905, 67.3700)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FD9 #9DD94F
analogous
#4F58D9 #8B4FD9 #D04FD9
triadic
#8B4FD9 #D98B4F #4FD98B
tetradic
#8B4FD9 #D94F58 #9DD94F #4FD9D0
square
#8B4FD9 #D94F58 #9DD94F #4FD9D0
split-complementary
#8B4FD9 #D9D04F #58D94F
monochromatic
#4F1F8F #6C2AC1 #8B4FD9 #AC81E4 #CDB4EF

Accessibility & contrast

On white

4.98
#8B4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8B4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FD9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FD9#FFFFFF#000000##FFFFFF
##8B4FD91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#0D6FD6
Tritanopia (blue-blind)
#7A6E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4fd9;
/* rgb */ color: rgb(139, 79, 217);
/* oklch */ color: oklch(56.7% 0.202 299.9);
Tailwind
colors: {
  custom: {
    50: '#b284e6',
    500: '#8b4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fd9;
$custom-light: #b284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fd9",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 266.087,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.20234,
    "h": 299.9
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#8B4FD9
secondary
#C5DDA6
accent
#E7409F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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