#8B4DDC#8B4DDC

#8B4DDC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.208 H 299.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B4DDC
RGBrgb(139, 77, 220)
HSLhsl(266, 67%, 58%)
HSVhsv(266, 65%, 86%)
CMYKcmyk(36.8%, 65%, 0%, 13.7%)
CIE-LABlab(46.93, 54.24, -63.62)
CIE-LCHlch(46.93, 83.60, 310.45°)
OKLaboklab(56.61% 0.1029 -0.1811)
OKLCHoklch(56.61% 0.208 299.6)
XYZxyz(26.2164, 15.9638, 69.3964)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DDC #9EDC4D
analogous
#4D56DC #8B4DDC #D24DDC
triadic
#8B4DDC #DC8B4D #4DDC8B
tetradic
#8B4DDC #DC4D56 #9EDC4D #4DDCD2
square
#8B4DDC #DC4D56 #9EDC4D #4DDCD2
split-complementary
#8B4DDC #DCD24D #56DC4D
monochromatic
#501D92 #6B27C5 #8B4DDC #AC80E6 #CEB3F0

Accessibility & contrast

On white

5.01
#8B4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8B4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DDC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DDC#FFFFFF#000000##FFFFFF
##8B4DDC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b4ddc;
/* rgb */ color: rgb(139, 77, 220);
/* oklch */ color: oklch(56.6% 0.208 299.6);
Tailwind
colors: {
  custom: {
    50: '#b282e8',
    500: '#8b4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8b4ddc;
$custom-light: #b282e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4ddc",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 266.014,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5661,
    "c": 0.20833,
    "h": 299.6
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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