#8B4DDE#8B4DDE

#8B4DDE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.211 H 299.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8B4DDE
RGBrgb(139, 77, 222)
HSLhsl(266, 69%, 59%)
HSVhsv(266, 65%, 87%)
CMYKcmyk(37.4%, 65.3%, 0%, 12.9%)
CIE-LABlab(47.07, 54.73, -64.53)
CIE-LCHlch(47.07, 84.62, 310.30°)
OKLaboklab(56.75% 0.1027 -0.1838)
OKLCHoklch(56.75% 0.211 299.2)
XYZxyz(26.4829, 16.0703, 70.7997)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DDE #A0DE4D
analogous
#4D57DE #8B4DDE #D34DDE
triadic
#8B4DDE #DE8B4D #4DDE8B
tetradic
#8B4DDE #DE4D57 #A0DE4D #4DDED3
square
#8B4DDE #DE4D57 #A0DE4D #4DDED3
split-complementary
#8B4DDE #DED34D #57DE4D
monochromatic
#501C95 #6B25C9 #8B4DDE #AD81E8 #CEB4F1

Accessibility & contrast

On white

4.98
#8B4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8B4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DDE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DDE#FFFFFF#000000##FFFFFF
##8B4DDE1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#786E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8b4dde;
/* rgb */ color: rgb(139, 77, 222);
/* oklch */ color: oklch(56.8% 0.211 299.2);
Tailwind
colors: {
  custom: {
    50: '#b383e9',
    500: '#8b4dde',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dde;
$custom-light: #b383e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dde",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 265.655,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56754,
    "c": 0.21056,
    "h": 299.2
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#8B4DDE
secondary
#C8E0A7
accent
#EC3CA1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8B4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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