#8B4DD6#8B4DD6

#8B4DD6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.202 H 300.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B4DD6
RGBrgb(139, 77, 214)
HSLhsl(267, 63%, 57%)
HSVhsv(267, 64%, 84%)
CMYKcmyk(35%, 64%, 0%, 16.1%)
CIE-LABlab(46.51, 52.75, -60.87)
CIE-LCHlch(46.51, 80.55, 310.92°)
OKLaboklab(56.18% 0.1035 -0.173)
OKLCHoklch(56.18% 0.202 300.9)
XYZxyz(25.4360, 15.6516, 65.2863)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DD6 #98D64D
analogous
#4D54D6 #8B4DD6 #CF4DD6
triadic
#8B4DD6 #D68B4D #4DD68B
tetradic
#8B4DD6 #D64D54 #98D64D #4DD6CF
square
#8B4DD6 #D64D54 #98D64D #4DD6CF
split-complementary
#8B4DD6 #D6CF4D #54D64D
monochromatic
#4F2089 #6C2BBB #8B4DD6 #AB7FE1 #CCB0ED

Accessibility & contrast

On white

5.08
#8B4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8B4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DD6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DD6#FFFFFF#000000##FFFFFF
##8B4DD61.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#116DD3
Tritanopia (blue-blind)
#7B6B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4dd6;
/* rgb */ color: rgb(139, 77, 214);
/* oklch */ color: oklch(56.2% 0.202 300.9);
Tailwind
colors: {
  custom: {
    50: '#b282e3',
    500: '#8b4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dd6;
$custom-light: #b282e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dd6",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 267.153,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56181,
    "c": 0.20161,
    "h": 300.9
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#8B4DD6
secondary
#C2DBA4
accent
#E6429C
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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