#8B47E4#8B47E4

#8B47E4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.224 H 298.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B47E4
RGBrgb(139, 71, 228)
HSLhsl(266, 74%, 59%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(39%, 68.9%, 0%, 10.6%)
CIE-LABlab(46.44, 59.14, -68.96)
CIE-LCHlch(46.44, 90.84, 310.62°)
OKLaboklab(56.44% 0.108 -0.1968)
OKLCHoklch(56.44% 0.224 298.8)
XYZxyz(26.9007, 15.5965, 74.9769)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47E4 #A0E447
analogous
#4751E4 #8B47E4 #D947E4
triadic
#8B47E4 #E48B47 #47E48B
tetradic
#8B47E4 #E44751 #A0E447 #47E4D9
square
#8B47E4 #E44751 #A0E447 #47E4D9
split-complementary
#8B47E4 #E4D947 #51E447
monochromatic
#50179A #6B1ECF #8B47E4 #AD7CEC #CEB2F4

Accessibility & contrast

On white

5.10
#8B47E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8B47E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47E4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47E4#FFFFFF#000000##FFFFFF
##8B47E41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#766D90
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b47e4;
/* rgb */ color: rgb(139, 71, 228);
/* oklch */ color: oklch(56.4% 0.224 298.8);
Tailwind
colors: {
  custom: {
    50: '#b37fed',
    500: '#8b47e4',
    950: '#000000',
  },
}
SCSS
$custom: #8b47e4;
$custom-light: #b37fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47e4",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 265.987,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.22449,
    "h": 298.8
  },
  "luminance": 0.15597
}

Semantic roles & 50–950 ramp

primary
#8B47E4
secondary
#C8E2A4
accent
#F137A0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B47E4

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

Preview Lab → · Contrast checker → · Palette generator →

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