#8B47CC#8B47CC

#8B47CC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.199 H 304.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B47CC
RGBrgb(139, 71, 204)
HSLhsl(271, 57%, 54%)
HSVhsv(271, 65%, 80%)
CMYKcmyk(31.9%, 65.2%, 0%, 20%)
CIE-LABlab(44.74, 53.34, -57.99)
CIE-LCHlch(44.74, 78.79, 312.60°)
OKLaboklab(54.69% 0.1111 -0.1646)
OKLCHoklch(54.69% 0.199 304)
XYZxyz(23.7973, 14.3551, 58.6322)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CC #88CC47
analogous
#4947CC #8B47CC #CC47CB
triadic
#8B47CC #CC8B47 #47CC8B
tetradic
#8B47CC #CC4947 #88CC47 #47CBCC
square
#8B47CC #CC4947 #88CC47 #47CBCC
split-complementary
#8B47CC #CBCC47 #47CC49
monochromatic
#4D2177 #6C2EA7 #8B47CC #A977D9 #C7A7E7

Accessibility & contrast

On white

5.42
#8B47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8B47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CC#FFFFFF#000000##FFFFFF
##8B47CC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#7F6483
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b47cc;
/* rgb */ color: rgb(139, 71, 204);
/* oklch */ color: oklch(54.7% 0.199 304.0);
Tailwind
colors: {
  custom: {
    50: '#b17edc',
    500: '#8b47cc',
    950: '#000000',
  },
}
SCSS
$custom: #8b47cc;
$custom-light: #b17edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47cc",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 270.677,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54686,
    "c": 0.19853,
    "h": 304
  },
  "luminance": 0.14355
}

Semantic roles & 50–950 ramp

primary
#8B47CC
secondary
#B7D49B
accent
#E04892
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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