#8B4CD1#8B4CD1

#8B4CD1 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.197 H 302.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8B4CD1
RGBrgb(139, 76, 209)
HSLhsl(268, 59%, 56%)
HSVhsv(268, 64%, 82%)
CMYKcmyk(33.5%, 63.6%, 0%, 18%)
CIE-LABlab(45.99, 52.04, -58.85)
CIE-LCHlch(45.99, 78.56, 311.49°)
OKLaboklab(55.7% 0.105 -0.1671)
OKLCHoklch(55.7% 0.197 302.1)
XYZxyz(24.7378, 15.2612, 61.9517)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD1 #92D14C
analogous
#4C4FD1 #8B4CD1 #CD4CD1
triadic
#8B4CD1 #D18B4C #4CD18B
tetradic
#8B4CD1 #D14C4F #92D14C #4CD1CD
square
#8B4CD1 #D14C4F #92D14C #4CD1CD
split-complementary
#8B4CD1 #D1CD4C #4FD14C
monochromatic
#4F2181 #6C2EB2 #8B4CD1 #AB7DDE #CAADEA

Accessibility & contrast

On white

5.18
#8B4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8B4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CD1
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CD1#FFFFFF#000000##FFFFFF
##8B4CD11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#1C6CCE
Tritanopia (blue-blind)
#7D6988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4cd1;
/* rgb */ color: rgb(139, 76, 209);
/* oklch */ color: oklch(55.7% 0.197 302.1);
Tailwind
colors: {
  custom: {
    50: '#b282e0',
    500: '#8b4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd1;
$custom-light: #b282e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd1",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 268.421,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.19736,
    "h": 302.1
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

primary
#8B4CD1
secondary
#BED8A1
accent
#E24698
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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