#8B4CD5#8B4CD5

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

Color values

HEX#8B4CD5
RGBrgb(139, 76, 213)
HSLhsl(268, 62%, 57%)
HSVhsv(268, 64%, 84%)
CMYKcmyk(34.7%, 64.3%, 0%, 16.5%)
CIE-LABlab(46.26, 53.01, -60.70)
CIE-LCHlch(46.26, 80.60, 311.13°)
OKLaboklab(55.98% 0.1047 -0.1725)
OKLCHoklch(55.98% 0.202 301.2)
XYZxyz(25.2393, 15.4618, 64.5926)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4CD5 #96D54C
analogous
#4C52D5 #8B4CD5 #CF4CD5
triadic
#8B4CD5 #D58B4C #4CD58B
tetradic
#8B4CD5 #D54C52 #96D54C #4CD5CF
square
#8B4CD5 #D54C52 #96D54C #4CD5CF
split-complementary
#8B4CD5 #D5CF4C #52D54C
monochromatic
#4F2087 #6C2BB9 #8B4CD5 #AB7EE1 #CBAFEC

Accessibility & contrast

On white

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

On black

4.09
#8B4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8B4CD5#FFFFFF#000000##FFFFFF
##8B4CD51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#7B6A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b4cd5;
/* rgb */ color: rgb(139, 76, 213);
/* oklch */ color: oklch(56.0% 0.202 301.2);
Tailwind
colors: {
  custom: {
    50: '#b282e3',
    500: '#8b4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8b4cd5;
$custom-light: #b282e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4cd5",
  "rgb": {
    "r": 139,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 267.591,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.20182,
    "h": 301.2
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#8B4CD5
secondary
#C1DAA2
accent
#E5439A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #8B4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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