#8B4DCA#8B4DCA

#8B4DCA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.188 H 303.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8B4DCA
RGBrgb(139, 77, 202)
HSLhsl(270, 54%, 55%)
HSVhsv(270, 62%, 79%)
CMYKcmyk(31.2%, 61.9%, 0%, 20.8%)
CIE-LABlab(45.72, 49.83, -55.26)
CIE-LCHlch(45.72, 74.41, 312.04°)
OKLaboklab(55.35% 0.1043 -0.1565)
OKLCHoklch(55.35% 0.188 303.7)
XYZxyz(23.9596, 15.0610, 57.5105)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DCA #8CCA4D
analogous
#4D4DCA #8B4DCA #CA4DCA
triadic
#8B4DCA #CA8B4D #4DCA8B
tetradic
#8B4DCA #CA4D4D #8CCA4D #4DCACA
square
#8B4DCA #CA4D4D #8CCA4D #4DCACA
split-complementary
#8B4DCA #CACA4D #4DCA4D
monochromatic
#4E2479 #6C32A8 #8B4DCA #AA7CD8 #C8ABE6

Accessibility & contrast

On white

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

On black

4.01
#8B4DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B4DCA#FFFFFF#000000##FFFFFF
##8B4DCA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#7F6784
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4dca;
/* rgb */ color: rgb(139, 77, 202);
/* oklch */ color: oklch(55.4% 0.188 303.7);
Tailwind
colors: {
  custom: {
    50: '#b182db',
    500: '#8b4dca',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dca;
$custom-light: #b182db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dca",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 269.76,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.1881,
    "h": 303.7
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#8B4DCA
secondary
#BAD49F
accent
#DD4A94
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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