#8B4AD4#8B4AD4

#8B4AD4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.203 H 301.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8B4AD4
RGBrgb(139, 74, 212)
HSLhsl(268, 62%, 56%)
HSVhsv(268, 65%, 83%)
CMYKcmyk(34.4%, 65.1%, 0%, 16.9%)
CIE-LABlab(45.83, 53.77, -60.84)
CIE-LCHlch(45.83, 81.19, 311.47°)
OKLaboklab(55.64% 0.107 -0.1729)
OKLCHoklch(55.64% 0.203 301.7)
XYZxyz(24.9771, 15.1399, 63.8810)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AD4 #93D44A
analogous
#4A4ED4 #8B4AD4 #D04AD4
triadic
#8B4AD4 #D48B4A #4AD48B
tetradic
#8B4AD4 #D44A4E #93D44A #4AD4D0
square
#8B4AD4 #D44A4E #93D44A #4AD4D0
split-complementary
#8B4AD4 #D4D04A #4ED44A
monochromatic
#4F1F84 #6C2BB6 #8B4AD4 #AB7BE0 #CAADEB

Accessibility & contrast

On white

5.21
#8B4AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8B4AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AD4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AD4#FFFFFF#000000##FFFFFF
##8B4AD41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0C6CD1
Tritanopia (blue-blind)
#7C6989
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4ad4;
/* rgb */ color: rgb(139, 74, 212);
/* oklch */ color: oklch(55.6% 0.203 301.7);
Tailwind
colors: {
  custom: {
    50: '#b280e2',
    500: '#8b4ad4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ad4;
$custom-light: #b280e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ad4",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 268.261,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55641,
    "c": 0.20335,
    "h": 301.7
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#8B4AD4
secondary
#BFD9A0
accent
#E54399
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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