#8B47D1#8B47D1

#8B47D1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.204 H 302.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8B47D1
RGBrgb(139, 71, 209)
HSLhsl(270, 60%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(33.5%, 66%, 0%, 18%)
CIE-LABlab(45.08, 54.53, -60.32)
CIE-LCHlch(45.08, 81.31, 312.11°)
OKLaboklab(55.04% 0.1106 -0.1714)
OKLCHoklch(55.04% 0.204 302.8)
XYZxyz(24.4066, 14.5989, 61.8413)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47D1 #8DD147
analogous
#4748D1 #8B47D1 #D047D1
triadic
#8B47D1 #D18B47 #47D18B
tetradic
#8B47D1 #D14748 #8DD147 #47D1D0
square
#8B47D1 #D14748 #8DD147 #47D1D0
split-complementary
#8B47D1 #D1D047 #48D147
monochromatic
#4E207E #6C2CAF #8B47D1 #AA78DD #C9A9E9

Accessibility & contrast

On white

5.36
#8B47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8B47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47D1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47D1#FFFFFF#000000##FFFFFF
##8B47D11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#0C6ACE
Tritanopia (blue-blind)
#7D6686
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b47d1;
/* rgb */ color: rgb(139, 71, 209);
/* oklch */ color: oklch(55.0% 0.204 302.8);
Tailwind
colors: {
  custom: {
    50: '#b27fe0',
    500: '#8b47d1',
    950: '#000000',
  },
}
SCSS
$custom: #8b47d1;
$custom-light: #b27fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47d1",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 269.565,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5504,
    "c": 0.20397,
    "h": 302.8
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#8B47D1
secondary
#BAD79D
accent
#E34595
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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