#8B47CF#8B47CF

#8B47CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.202 H 303.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8B47CF
RGBrgb(139, 71, 207)
HSLhsl(270, 59%, 55%)
HSVhsv(270, 66%, 81%)
CMYKcmyk(32.9%, 65.7%, 0%, 18.8%)
CIE-LABlab(44.94, 54.05, -59.39)
CIE-LCHlch(44.94, 80.30, 312.30°)
OKLaboklab(54.9% 0.1108 -0.1687)
OKLCHoklch(54.9% 0.202 303.3)
XYZxyz(24.1606, 14.5005, 60.5454)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47CF #8BCF47
analogous
#4747CF #8B47CF #CF47CF
triadic
#8B47CF #CF8B47 #47CF8B
tetradic
#8B47CF #CF4747 #8BCF47 #47CFCF
square
#8B47CF #CF4747 #8BCF47 #47CFCF
split-complementary
#8B47CF #CFCF47 #47CF47
monochromatic
#4E207B #6C2DAC #8B47CF #AA78DC #C8A8E8

Accessibility & contrast

On white

5.38
#8B47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8B47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47CF#FFFFFF#000000##FFFFFF
##8B47CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#146ACC
Tritanopia (blue-blind)
#7E6585
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8b47cf;
/* rgb */ color: rgb(139, 71, 207);
/* oklch */ color: oklch(54.9% 0.202 303.3);
Tailwind
colors: {
  custom: {
    50: '#b27fde',
    500: '#8b47cf',
    950: '#000000',
  },
}
SCSS
$custom: #8b47cf;
$custom-light: #b27fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47cf",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.2018,
    "h": 303.3
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#8B47CF
secondary
#B9D69C
accent
#E24694
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8B47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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