#8B4AD3#8B4AD3

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

Color values

HEX#8B4AD3
RGBrgb(139, 74, 211)
HSLhsl(268, 61%, 56%)
HSVhsv(268, 65%, 83%)
CMYKcmyk(34.1%, 64.9%, 0%, 17.3%)
CIE-LABlab(45.76, 53.53, -60.37)
CIE-LCHlch(45.76, 80.69, 311.56°)
OKLaboklab(55.57% 0.1071 -0.1716)
OKLCHoklch(55.57% 0.202 302)
XYZxyz(24.8513, 15.0896, 63.2187)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4AD3 #92D34A
analogous
#4A4DD3 #8B4AD3 #CF4AD3
triadic
#8B4AD3 #D38B4A #4AD38B
tetradic
#8B4AD3 #D34A4D #92D34A #4AD3CF
square
#8B4AD3 #D34A4D #92D34A #4AD3CF
split-complementary
#8B4AD3 #D3CF4A #4DD34A
monochromatic
#4F2083 #6C2CB4 #8B4AD3 #AB7BDF #CAACEB

Accessibility & contrast

On white

5.23
#8B4AD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8B4AD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4AD3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4AD3#FFFFFF#000000##FFFFFF
##8B4AD31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#106CD0
Tritanopia (blue-blind)
#7C6888
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4ad3;
/* rgb */ color: rgb(139, 74, 211);
/* oklch */ color: oklch(55.6% 0.202 302.0);
Tailwind
colors: {
  custom: {
    50: '#b280e1',
    500: '#8b4ad3',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ad3;
$custom-light: #b280e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ad3",
  "rgb": {
    "r": 139,
    "g": 74,
    "b": 211
  },
  "hsl": {
    "h": 268.467,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5557,
    "c": 0.20224,
    "h": 302
  },
  "luminance": 0.1509
}

Semantic roles & 50–950 ramp

primary
#8B4AD3
secondary
#BED9A0
accent
#E44498
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B4AD3

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

Preview Lab → · Contrast checker → · Palette generator →

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