#8B4DCC#8B4DCC

#8B4DCC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.190 H 303.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8B4DCC
RGBrgb(139, 77, 204)
HSLhsl(269, 55%, 55%)
HSVhsv(269, 62%, 80%)
CMYKcmyk(31.9%, 62.3%, 0%, 20%)
CIE-LABlab(45.85, 50.31, -56.20)
CIE-LCHlch(45.85, 75.43, 311.83°)
OKLaboklab(55.49% 0.1042 -0.1593)
OKLCHoklch(55.49% 0.19 303.2)
XYZxyz(24.1979, 15.1564, 58.7657)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DCC #8ECC4D
analogous
#4D4FCC #8B4DCC #CA4DCC
triadic
#8B4DCC #CC8B4D #4DCC8B
tetradic
#8B4DCC #CC4D4F #8ECC4D #4DCCCA
square
#8B4DCC #CC4D4F #8ECC4D #4DCCCA
split-complementary
#8B4DCC #CCCA4D #4FCC4D
monochromatic
#4E237B #6C31AB #8B4DCC #AA7DDA #C9ACE7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B4DCC#FFFFFF#000000##FFFFFF
##8B4DCC1.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)
#006BD0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#7F6885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4dcc;
/* rgb */ color: rgb(139, 77, 204);
/* oklch */ color: oklch(55.5% 0.190 303.2);
Tailwind
colors: {
  custom: {
    50: '#b182dc',
    500: '#8b4dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dcc;
$custom-light: #b182dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dcc",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 269.291,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.19037,
    "h": 303.2
  },
  "luminance": 0.15156
}

Semantic roles & 50–950 ramp

primary
#8B4DCC
secondary
#BBD5A0
accent
#DF4996
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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