#8B4BD8#8B4BD8

#8B4BD8 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.206 H 300.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8B4BD8
RGBrgb(139, 75, 216)
HSLhsl(267, 64%, 57%)
HSVhsv(267, 65%, 85%)
CMYKcmyk(35.6%, 65.3%, 0%, 15.3%)
CIE-LABlab(46.28, 54.25, -62.38)
CIE-LCHlch(46.28, 82.67, 311.01°)
OKLaboklab(56.06% 0.1055 -0.1775)
OKLCHoklch(56.06% 0.206 300.7)
XYZxyz(25.5552, 15.4788, 66.5938)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BD8 #98D84B
analogous
#4B52D8 #8B4BD8 #D24BD8
triadic
#8B4BD8 #D88B4B #4BD88B
tetradic
#8B4BD8 #D84B52 #98D84B #4BD8D2
square
#8B4BD8 #D84B52 #98D84B #4BD8D2
split-complementary
#8B4BD8 #D8D24B #52D84B
monochromatic
#4F1E8B #6C29BD #8B4BD8 #AB7DE3 #CCB0EE

Accessibility & contrast

On white

5.13
#8B4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8B4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BD8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BD8#FFFFFF#000000##FFFFFF
##8B4BD81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#006DD5
Tritanopia (blue-blind)
#7A6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4bd8;
/* rgb */ color: rgb(139, 75, 216);
/* oklch */ color: oklch(56.1% 0.206 300.7);
Tailwind
colors: {
  custom: {
    50: '#b281e5',
    500: '#8b4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bd8;
$custom-light: #b281e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bd8",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 267.234,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.20647,
    "h": 300.7
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#8B4BD8
secondary
#C2DCA3
accent
#E7409C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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