#8B47CD#8B47CD

#8B47CD is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.8% C 0.200 H 303.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8B47CD
RGBrgb(139, 71, 205)
HSLhsl(270, 57%, 54%)
HSVhsv(270, 65%, 80%)
CMYKcmyk(32.2%, 65.4%, 0%, 19.6%)
CIE-LABlab(44.81, 53.57, -58.46)
CIE-LCHlch(44.81, 79.29, 312.50°)
OKLaboklab(54.76% 0.111 -0.1659)
OKLCHoklch(54.76% 0.2 303.8)
XYZxyz(23.9176, 14.4033, 59.2658)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CD #89CD47
analogous
#4847CD #8B47CD #CD47CC
triadic
#8B47CD #CD8B47 #47CD8B
tetradic
#8B47CD #CD4847 #89CD47 #47CCCD
square
#8B47CD #CD4847 #89CD47 #47CCCD
split-complementary
#8B47CD #CCCD47 #47CD48
monochromatic
#4D2179 #6C2EA9 #8B47CD #A977DA #C8A7E7

Accessibility & contrast

On white

5.41
#8B47CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8B47CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CD
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CD#FFFFFF#000000##FFFFFF
##8B47CD1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#7E6484
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b47cd;
/* rgb */ color: rgb(139, 71, 205);
/* oklch */ color: oklch(54.8% 0.200 303.8);
Tailwind
colors: {
  custom: {
    50: '#b27edd',
    500: '#8b47cd',
    950: '#000000',
  },
}
SCSS
$custom: #8b47cd;
$custom-light: #b27edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47cd",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 270.448,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.19963,
    "h": 303.8
  },
  "luminance": 0.14403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B47CD

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

Preview Lab → · Contrast checker → · Palette generator →

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