#8B4DCD#8B4DCD

#8B4DCD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.192 H 302.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8B4DCD
RGBrgb(139, 77, 205)
HSLhsl(269, 56%, 55%)
HSVhsv(269, 62%, 80%)
CMYKcmyk(32.2%, 62.4%, 0%, 19.6%)
CIE-LABlab(45.91, 50.55, -56.67)
CIE-LCHlch(45.91, 75.94, 311.73°)
OKLaboklab(55.56% 0.1041 -0.1607)
OKLCHoklch(55.56% 0.192 302.9)
XYZxyz(24.3182, 15.2045, 59.3994)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DCD #8FCD4D
analogous
#4D4FCD #8B4DCD #CB4DCD
triadic
#8B4DCD #CD8B4D #4DCD8B
tetradic
#8B4DCD #CD4D4F #8FCD4D #4DCDCB
square
#8B4DCD #CD4D4F #8FCD4D #4DCDCB
split-complementary
#8B4DCD #CDCB4D #4FCD4D
monochromatic
#4E237D #6C30AC #8B4DCD #AA7DDA #C9ADE8

Accessibility & contrast

On white

5.20
#8B4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8B4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DCD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DCD#FFFFFF#000000##FFFFFF
##8B4DCD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#7E6886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4dcd;
/* rgb */ color: rgb(139, 77, 205);
/* oklch */ color: oklch(55.6% 0.192 302.9);
Tailwind
colors: {
  custom: {
    50: '#b182dd',
    500: '#8b4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dcd;
$custom-light: #b182dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dcd",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 269.063,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.1915,
    "h": 302.9
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#8B4DCD
secondary
#BCD6A0
accent
#DF4896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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