#8B4FDA#8B4FDA

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

Color values

HEX#8B4FDA
RGBrgb(139, 79, 218)
HSLhsl(266, 65%, 58%)
HSVhsv(266, 64%, 85%)
CMYKcmyk(36.2%, 63.8%, 0%, 14.5%)
CIE-LABlab(47.16, 52.72, -62.10)
CIE-LCHlch(47.16, 81.47, 310.33°)
OKLaboklab(56.74% 0.1009 -0.1767)
OKLCHoklch(56.74% 0.203 299.7)
XYZxyz(26.0952, 16.1426, 68.0571)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4FDA #9EDA4F
analogous
#4F58DA #8B4FDA #D04FDA
triadic
#8B4FDA #DA8B4F #4FDA8B
tetradic
#8B4FDA #DA4F58 #9EDA4F #4FDAD0
square
#8B4FDA #DA4F58 #9EDA4F #4FDAD0
split-complementary
#8B4FDA #DAD04F #58DA4F
monochromatic
#501E90 #6B29C3 #8B4FDA #AC82E5 #CEB4EF

Accessibility & contrast

On white

4.97
#8B4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8B4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4FDA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4FDA#FFFFFF#000000##FFFFFF
##8B4FDA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#086FD7
Tritanopia (blue-blind)
#796E8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4fda;
/* rgb */ color: rgb(139, 79, 218);
/* oklch */ color: oklch(56.7% 0.203 299.7);
Tailwind
colors: {
  custom: {
    50: '#b284e6',
    500: '#8b4fda',
    950: '#000000',
  },
}
SCSS
$custom: #8b4fda;
$custom-light: #b284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4fda",
  "rgb": {
    "r": 139,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 265.899,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.20347,
    "h": 299.7
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#8B4FDA
secondary
#C6DEA7
accent
#E8409F
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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