#8B4DD1#8B4DD1

#8B4DD1 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.196 H 302.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B4DD1
RGBrgb(139, 77, 209)
HSLhsl(268, 59%, 56%)
HSVhsv(268, 63%, 82%)
CMYKcmyk(33.5%, 63.2%, 0%, 18%)
CIE-LABlab(46.18, 51.53, -58.55)
CIE-LCHlch(46.18, 77.99, 311.35°)
OKLaboklab(55.83% 0.1039 -0.1662)
OKLCHoklch(55.83% 0.196 302)
XYZxyz(24.8073, 15.4001, 61.9748)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4DD1 #93D14D
analogous
#4D51D1 #8B4DD1 #CD4DD1
triadic
#8B4DD1 #D18B4D #4DD18B
tetradic
#8B4DD1 #D14D51 #93D14D #4DD1CD
square
#8B4DD1 #D14D51 #93D14D #4DD1CD
split-complementary
#8B4DD1 #D1CD4D #51D14D
monochromatic
#4F2282 #6C2EB3 #8B4DD1 #AB7EDE #CAAEEA

Accessibility & contrast

On white

5.15
#8B4DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B4DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4DD1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4DD1#FFFFFF#000000##FFFFFF
##8B4DD11.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#1F6DCE
Tritanopia (blue-blind)
#7D6A88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4dd1;
/* rgb */ color: rgb(139, 77, 209);
/* oklch */ color: oklch(55.8% 0.196 302.0);
Tailwind
colors: {
  custom: {
    50: '#b182e0',
    500: '#8b4dd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4dd1;
$custom-light: #b182e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4dd1",
  "rgb": {
    "r": 139,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 268.182,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55831,
    "c": 0.196,
    "h": 302
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#8B4DD1
secondary
#BFD8A2
accent
#E24699
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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