#8B47E7#8B47E7

#8B47E7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.228 H 298.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B47E7
RGBrgb(139, 71, 231)
HSLhsl(266, 77%, 59%)
HSVhsv(266, 69%, 91%)
CMYKcmyk(39.8%, 69.3%, 0%, 9.4%)
CIE-LABlab(46.66, 59.88, -70.29)
CIE-LCHlch(46.66, 92.34, 310.43°)
OKLaboklab(56.67% 0.1075 -0.2007)
OKLCHoklch(56.67% 0.228 298.2)
XYZxyz(27.3208, 15.7645, 77.1893)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47E7 #A3E747
analogous
#4753E7 #8B47E7 #DB47E7
triadic
#8B47E7 #E78B47 #47E78B
tetradic
#8B47E7 #E74753 #A3E747 #47E7DB
square
#8B47E7 #E74753 #A3E747 #47E7DB
split-complementary
#8B47E7 #E7DB47 #53E747
monochromatic
#4F159F #6B1CD5 #8B47E7 #AD7DEE #CFB3F5

Accessibility & contrast

On white

5.06
#8B47E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8B47E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47E7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47E7#FFFFFF#000000##FFFFFF
##8B47E71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#756E92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8b47e7;
/* rgb */ color: rgb(139, 71, 231);
/* oklch */ color: oklch(56.7% 0.228 298.2);
Tailwind
colors: {
  custom: {
    50: '#b47ff0',
    500: '#8b47e7',
    950: '#000000',
  },
}
SCSS
$custom: #8b47e7;
$custom-light: #b47ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47e7",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 231
  },
  "hsl": {
    "h": 265.5,
    "s": 76.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.22771,
    "h": 298.2
  },
  "luminance": 0.15765
}

Semantic roles & 50–950 ramp

primary
#8B47E7
secondary
#CAE4A6
accent
#F334A2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #8B47E7

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

Preview Lab → · Contrast checker → · Palette generator →

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