#8B4BDD#8B4BDD

#8B4BDD is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.212 H 299.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B4BDD
RGBrgb(139, 75, 221)
HSLhsl(266, 68%, 58%)
HSVhsv(266, 66%, 87%)
CMYKcmyk(37.1%, 66.1%, 0%, 13.3%)
CIE-LABlab(46.63, 55.48, -64.67)
CIE-LCHlch(46.63, 85.21, 310.63°)
OKLaboklab(56.42% 0.1049 -0.1842)
OKLCHoklch(56.42% 0.212 299.7)
XYZxyz(26.2115, 15.7413, 70.0500)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BDD #9DDD4B
analogous
#4B54DD #8B4BDD #D44BDD
triadic
#8B4BDD #DD8B4B #4BDD8B
tetradic
#8B4BDD #DD4B54 #9DDD4B #4BDDD4
square
#8B4BDD #DD4B54 #9DDD4B #4BDDD4
split-complementary
#8B4BDD #DDD44B #54DD4B
monochromatic
#4F1C92 #6C25C5 #8B4BDD #AC7EE7 #CDB2F0

Accessibility & contrast

On white

5.06
#8B4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8B4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BDD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BDD#FFFFFF#000000##FFFFFF
##8B4BDD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#786D8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4bdd;
/* rgb */ color: rgb(139, 75, 221);
/* oklch */ color: oklch(56.4% 0.212 299.7);
Tailwind
colors: {
  custom: {
    50: '#b381e8',
    500: '#8b4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bdd;
$custom-light: #b381e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bdd",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 266.301,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.21199,
    "h": 299.7
  },
  "luminance": 0.15742
}

Semantic roles & 50–950 ramp

primary
#8B4BDD
secondary
#C5DFA5
accent
#EB3D9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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