#8B4CDC#8B4CDC

#8B4CDC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.210 H 299.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8B4CDC
RGBrgb(139, 76, 220)
HSLhsl(266, 67%, 58%)
HSVhsv(266, 65%, 86%)
CMYKcmyk(36.8%, 65.5%, 0%, 13.7%)
CIE-LABlab(46.74, 54.74, -63.92)
CIE-LCHlch(46.74, 84.15, 310.58°)
OKLaboklab(56.48% 0.104 -0.182)
OKLCHoklch(56.48% 0.21 299.7)
XYZxyz(26.1470, 15.8249, 69.3732)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CDC #9DDC4C
analogous
#4C55DC #8B4CDC #D34CDC
triadic
#8B4CDC #DC8B4C #4CDC8B
tetradic
#8B4CDC #DC4C55 #9DDC4C #4CDCD3
square
#8B4CDC #DC4C55 #9DDC4C #4CDCD3
split-complementary
#8B4CDC #DCD34C #55DC4C
monochromatic
#4F1C91 #6C26C4 #8B4CDC #AC7FE6 #CDB2F0

Accessibility & contrast

On white

5.04
#8B4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8B4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4CDC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CDC#FFFFFF#000000##FFFFFF
##8B4CDC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#796D8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4cdc;
/* rgb */ color: rgb(139, 76, 220);
/* oklch */ color: oklch(56.5% 0.210 299.7);
Tailwind
colors: {
  custom: {
    50: '#b282e8',
    500: '#8b4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cdc;
$custom-light: #b282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cdc",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 266.25,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.20961,
    "h": 299.7
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#8B4CDC
secondary
#C5DFA5
accent
#EA3E9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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