#8B47BB#8B47BB

#8B47BB is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.180 H 308.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8B47BB
RGBrgb(139, 71, 187)
HSLhsl(275, 46%, 51%)
HSVhsv(275, 62%, 73%)
CMYKcmyk(25.7%, 62%, 0%, 26.7%)
CIE-LABlab(43.63, 49.36, -49.90)
CIE-LCHlch(43.63, 70.19, 314.68°)
OKLaboklab(53.53% 0.1121 -0.1408)
OKLCHoklch(53.53% 0.18 308.5)
XYZxyz(21.8685, 13.5836, 48.4739)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47BB #77BB47
analogous
#5147BB #8B47BB #BB47B1
triadic
#8B47BB #BB8B47 #47BB8B
tetradic
#8B47BB #BB5147 #77BB47 #47B1BB
square
#8B47BB #BB5147 #77BB47 #47B1BB
split-complementary
#8B47BB #B1BB47 #47BB51
monochromatic
#492563 #6A3590 #8B47BB #A774CC #C3A0DC

Accessibility & contrast

On white

5.65
#8B47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8B47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47BB#FFFFFF#000000##FFFFFF
##8B47BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C64BF
Deuteranopia (green-blind)
#3568B8
Tritanopia (blue-blind)
#845E7A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b47bb;
/* rgb */ color: rgb(139, 71, 187);
/* oklch */ color: oklch(53.5% 0.180 308.5);
Tailwind
colors: {
  custom: {
    50: '#b07ed0',
    500: '#8b47bb',
    950: '#000000',
  },
}
SCSS
$custom: #8b47bb;
$custom-light: #b07ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47bb",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 275.172,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53531,
    "c": 0.17998,
    "h": 308.5
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#8B47BB
secondary
#AAC995
accent
#D65289
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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