#8B47E0#8B47E0

#8B47E0 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.220 H 299.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B47E0
RGBrgb(139, 71, 224)
HSLhsl(267, 71%, 58%)
HSVhsv(267, 68%, 88%)
CMYKcmyk(37.9%, 68.3%, 0%, 12.2%)
CIE-LABlab(46.15, 58.16, -67.16)
CIE-LCHlch(46.15, 88.85, 310.89°)
OKLaboklab(56.14% 0.1086 -0.1915)
OKLCHoklch(56.14% 0.22 299.6)
XYZxyz(26.3519, 15.3770, 72.0863)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47E0 #9CE047
analogous
#474FE0 #8B47E0 #D847E0
triadic
#8B47E0 #E08B47 #47E08B
tetradic
#8B47E0 #E0474F #9CE047 #47E0D8
square
#8B47E0 #E0474F #9CE047 #47E0D8
split-complementary
#8B47E0 #E0D847 #4FE047
monochromatic
#4F1994 #6C22C8 #8B47E0 #AC7BE9 #CDB0F2

Accessibility & contrast

On white

5.15
#8B47E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#8B47E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47E0
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47E0#FFFFFF#000000##FFFFFF
##8B47E01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#006CDD
Tritanopia (blue-blind)
#776B8E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8b47e0;
/* rgb */ color: rgb(139, 71, 224);
/* oklch */ color: oklch(56.1% 0.220 299.6);
Tailwind
colors: {
  custom: {
    50: '#b37feb',
    500: '#8b47e0',
    950: '#000000',
  },
}
SCSS
$custom: #8b47e0;
$custom-light: #b37feb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47e0",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 224
  },
  "hsl": {
    "h": 266.667,
    "s": 71.163,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.2202,
    "h": 299.6
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#8B47E0
secondary
#C5E0A3
accent
#EE3A9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B47E0

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

Preview Lab → · Contrast checker → · Palette generator →

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