#8B4BD4#8B4BD4

#8B4BD4 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.202 H 301.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8B4BD4
RGBrgb(139, 75, 212)
HSLhsl(268, 61%, 56%)
HSVhsv(268, 65%, 83%)
CMYKcmyk(34.4%, 64.6%, 0%, 16.9%)
CIE-LABlab(46.01, 53.27, -60.54)
CIE-LCHlch(46.01, 80.64, 311.35°)
OKLaboklab(55.77% 0.1059 -0.1721)
OKLCHoklch(55.77% 0.202 301.6)
XYZxyz(25.0444, 15.2745, 63.9034)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B4BD4 #94D44B
analogous
#4B50D4 #8B4BD4 #D04BD4
triadic
#8B4BD4 #D48B4B #4BD48B
tetradic
#8B4BD4 #D44B50 #94D44B #4BD4D0
square
#8B4BD4 #D44B50 #94D44B #4BD4D0
split-complementary
#8B4BD4 #D4D04B #50D44B
monochromatic
#4F2085 #6C2CB6 #8B4BD4 #AB7CE0 #CBAEEC

Accessibility & contrast

On white

5.18
#8B4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8B4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B4BD4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B4BD4#FFFFFF#000000##FFFFFF
##8B4BD41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#106CD1
Tritanopia (blue-blind)
#7C6989
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b4bd4;
/* rgb */ color: rgb(139, 75, 212);
/* oklch */ color: oklch(55.8% 0.202 301.6);
Tailwind
colors: {
  custom: {
    50: '#b281e2',
    500: '#8b4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #8b4bd4;
$custom-light: #b281e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b4bd4",
  "rgb": {
    "r": 139,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 268.029,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.20204,
    "h": 301.6
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#8B4BD4
secondary
#BFDAA1
accent
#E54399
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8B4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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