#8B47CA#8B47CA

#8B47CA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.5% C 0.196 H 304.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8B47CA
RGBrgb(139, 71, 202)
HSLhsl(271, 55%, 54%)
HSVhsv(271, 65%, 79%)
CMYKcmyk(31.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(44.60, 52.86, -57.05)
CIE-LCHlch(44.60, 77.78, 312.81°)
OKLaboklab(54.55% 0.1112 -0.1618)
OKLCHoklch(54.55% 0.196 304.5)
XYZxyz(23.5590, 14.2598, 57.3769)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CA #86CA47
analogous
#4947CA #8B47CA #CA47C7
triadic
#8B47CA #CA8B47 #47CA8B
tetradic
#8B47CA #CA4947 #86CA47 #47C7CA
square
#8B47CA #CA4947 #86CA47 #47C7CA
split-complementary
#8B47CA #C7CA47 #47CA49
monochromatic
#4D2275 #6C2FA4 #8B47CA #A977D8 #C7A6E5

Accessibility & contrast

On white

5.45
#8B47CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8B47CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CA#FFFFFF#000000##FFFFFF
##8B47CA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#2069C7
Tritanopia (blue-blind)
#7F6382
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8b47ca;
/* rgb */ color: rgb(139, 71, 202);
/* oklch */ color: oklch(54.5% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#b17edb',
    500: '#8b47ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b47ca;
$custom-light: #b17edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47ca",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 271.145,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.19636,
    "h": 304.5
  },
  "luminance": 0.1426
}

Semantic roles & 50–950 ramp

primary
#8B47CA
secondary
#B5D29A
accent
#DF4991
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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