#8B4CDB#8B4CDB

#8B4CDB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.208 H 299.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B4CDB
RGBrgb(139, 76, 219)
HSLhsl(266, 67%, 58%)
HSVhsv(266, 65%, 86%)
CMYKcmyk(36.5%, 65.3%, 0%, 14.1%)
CIE-LABlab(46.67, 54.49, -63.46)
CIE-LCHlch(46.67, 83.65, 310.65°)
OKLaboklab(56.41% 0.1041 -0.1807)
OKLCHoklch(56.41% 0.209 299.9)
XYZxyz(26.0149, 15.7721, 68.6778)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CDB #9CDB4C
analogous
#4C54DB #8B4CDB #D34CDB
triadic
#8B4CDB #DB8B4C #4CDB8B
tetradic
#8B4CDB #DB4C54 #9CDB4C #4CDBD3
square
#8B4CDB #DB4C54 #9CDB4C #4CDBD3
split-complementary
#8B4CDB #DBD34C #54DB4C
monochromatic
#4F1D90 #6C27C3 #8B4CDB #AC7FE5 #CDB2EF

Accessibility & contrast

On white

5.05
#8B4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B4CDB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4CDB#FFFFFF#000000##FFFFFF
##8B4CDB1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#796D8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b4cdb;
/* rgb */ color: rgb(139, 76, 219);
/* oklch */ color: oklch(56.4% 0.208 299.9);
Tailwind
colors: {
  custom: {
    50: '#b282e7',
    500: '#8b4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cdb;
$custom-light: #b282e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cdb",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 266.434,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.2085,
    "h": 299.9
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#8B4CDB
secondary
#C5DEA5
accent
#E93E9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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