#8B4BD1#8B4BD1

#8B4BD1 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.6% C 0.199 H 302.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8B4BD1
RGBrgb(139, 75, 209)
HSLhsl(269, 59%, 56%)
HSVhsv(269, 64%, 82%)
CMYKcmyk(33.5%, 64.1%, 0%, 18%)
CIE-LABlab(45.80, 52.54, -59.15)
CIE-LCHlch(45.80, 79.12, 311.62°)
OKLaboklab(55.56% 0.1061 -0.168)
OKLCHoklch(55.56% 0.199 302.3)
XYZxyz(24.6695, 15.1245, 61.9289)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BD1 #91D14B
analogous
#4B4ED1 #8B4BD1 #CE4BD1
triadic
#8B4BD1 #D18B4B #4BD18B
tetradic
#8B4BD1 #D14B4E #91D14B #4BD1CE
square
#8B4BD1 #D14B4E #91D14B #4BD1CE
split-complementary
#8B4BD1 #D1CE4B #4ED14B
monochromatic
#4F2181 #6C2DB1 #8B4BD1 #AA7CDD #CAACEA

Accessibility & contrast

On white

5.22
#8B4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8B4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BD1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BD1#FFFFFF#000000##FFFFFF
##8B4BD11.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#1A6CCE
Tritanopia (blue-blind)
#7D6887
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b4bd1;
/* rgb */ color: rgb(139, 75, 209);
/* oklch */ color: oklch(55.6% 0.199 302.3);
Tailwind
colors: {
  custom: {
    50: '#b281e0',
    500: '#8b4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bd1;
$custom-light: #b281e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bd1",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 268.657,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55561,
    "c": 0.1987,
    "h": 302.3
  },
  "luminance": 0.15125
}

Semantic roles & 50–950 ramp

primary
#8B4BD1
secondary
#BDD8A0
accent
#E24597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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