#8B47CE#8B47CE

#8B47CE is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.8% C 0.201 H 303.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8B47CE
RGBrgb(139, 71, 206)
HSLhsl(270, 58%, 54%)
HSVhsv(270, 66%, 81%)
CMYKcmyk(32.5%, 65.5%, 0%, 19.2%)
CIE-LABlab(44.87, 53.81, -58.93)
CIE-LCHlch(44.87, 79.80, 312.40°)
OKLaboklab(54.83% 0.1109 -0.1673)
OKLCHoklch(54.83% 0.201 303.5)
XYZxyz(24.0387, 14.4517, 59.9036)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CE #8ACE47
analogous
#4847CE #8B47CE #CE47CE
triadic
#8B47CE #CE8B47 #47CE8B
tetradic
#8B47CE #CE4847 #8ACE47 #47CECE
square
#8B47CE #CE4847 #8ACE47 #47CECE
split-complementary
#8B47CE #CECE47 #47CE48
monochromatic
#4E217A #6C2DAA #8B47CE #A977DB #C8A8E8

Accessibility & contrast

On white

5.40
#8B47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8B47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CE#FFFFFF#000000##FFFFFF
##8B47CE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#176ACB
Tritanopia (blue-blind)
#7E6584
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b47ce;
/* rgb */ color: rgb(139, 71, 206);
/* oklch */ color: oklch(54.8% 0.201 303.5);
Tailwind
colors: {
  custom: {
    50: '#b27ede',
    500: '#8b47ce',
    950: '#000000',
  },
}
SCSS
$custom: #8b47ce;
$custom-light: #b27ede;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47ce",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 270.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.20071,
    "h": 303.5
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#8B47CE
secondary
#B8D59C
accent
#E14793
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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