#8B47BD#8B47BD

#8B47BD is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.7% C 0.182 H 308.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8B47BD
RGBrgb(139, 71, 189)
HSLhsl(275, 47%, 51%)
HSVhsv(275, 62%, 74%)
CMYKcmyk(26.5%, 62.4%, 0%, 25.9%)
CIE-LABlab(43.76, 49.82, -50.87)
CIE-LCHlch(43.76, 71.20, 314.40°)
OKLaboklab(53.66% 0.112 -0.1436)
OKLCHoklch(53.66% 0.182 308)
XYZxyz(22.0841, 13.6699, 49.6094)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47BD #79BD47
analogous
#5047BD #8B47BD #BD47B4
triadic
#8B47BD #BD8B47 #47BD8B
tetradic
#8B47BD #BD5047 #79BD47 #47B4BD
square
#8B47BD #BD5047 #79BD47 #47B4BD
split-complementary
#8B47BD #B4BD47 #47BD50
monochromatic
#4A2465 #6B3492 #8B47BD #A774CD #C4A1DD

Accessibility & contrast

On white

5.62
#8B47BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#8B47BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47BD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47BD#FFFFFF#000000##FFFFFF
##8B47BD1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#835F7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8b47bd;
/* rgb */ color: rgb(139, 71, 189);
/* oklch */ color: oklch(53.7% 0.182 308.0);
Tailwind
colors: {
  custom: {
    50: '#b07ed1',
    500: '#8b47bd',
    950: '#000000',
  },
}
SCSS
$custom: #8b47bd;
$custom-light: #b07ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47bd",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 274.576,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53663,
    "c": 0.18217,
    "h": 308
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#8B47BD
secondary
#ACCA96
accent
#D7518A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8B47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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