#8B47CB#8B47CB

#8B47CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.6% C 0.197 H 304.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8B47CB
RGBrgb(139, 71, 203)
HSLhsl(271, 56%, 54%)
HSVhsv(271, 65%, 80%)
CMYKcmyk(31.5%, 65%, 0%, 20.4%)
CIE-LABlab(44.67, 53.10, -57.52)
CIE-LCHlch(44.67, 78.28, 312.71°)
OKLaboklab(54.62% 0.1112 -0.1632)
OKLCHoklch(54.62% 0.197 304.3)
XYZxyz(23.6778, 14.3073, 58.0025)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CB #87CB47
analogous
#4947CB #8B47CB #CB47C9
triadic
#8B47CB #CB8B47 #47CB8B
tetradic
#8B47CB #CB4947 #87CB47 #47C9CB
square
#8B47CB #CB4947 #87CB47 #47C9CB
split-complementary
#8B47CB #C9CB47 #47CB49
monochromatic
#4D2176 #6C2FA6 #8B47CB #A977D8 #C7A6E6

Accessibility & contrast

On white

5.44
#8B47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8B47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CB#FFFFFF#000000##FFFFFF
##8B47CB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b47cb;
/* rgb */ color: rgb(139, 71, 203);
/* oklch */ color: oklch(54.6% 0.197 304.3);
Tailwind
colors: {
  custom: {
    50: '#b17edc',
    500: '#8b47cb',
    950: '#000000',
  },
}
SCSS
$custom: #8b47cb;
$custom-light: #b17edc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47cb",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 270.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.19745,
    "h": 304.3
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#8B47CB
secondary
#B6D39B
accent
#DF4992
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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