#8B47E2#8B47E2

#8B47E2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.222 H 299.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8B47E2
RGBrgb(139, 71, 226)
HSLhsl(266, 73%, 58%)
HSVhsv(266, 69%, 89%)
CMYKcmyk(38.5%, 68.6%, 0%, 11.4%)
CIE-LABlab(46.29, 58.65, -68.06)
CIE-LCHlch(46.29, 89.84, 310.75°)
OKLaboklab(56.29% 0.1083 -0.1942)
OKLCHoklch(56.29% 0.222 299.2)
XYZxyz(26.6247, 15.4861, 73.5232)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47E2 #9EE247
analogous
#4750E2 #8B47E2 #D947E2
triadic
#8B47E2 #E28B47 #47E28B
tetradic
#8B47E2 #E24750 #9EE247 #47E2D9
square
#8B47E2 #E24750 #9EE247 #47E2D9
split-complementary
#8B47E2 #E2D947 #50E247
monochromatic
#501897 #6B20CC #8B47E2 #AC7CEA #CEB1F3

Accessibility & contrast

On white

5.13
#8B47E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8B47E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47E2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47E2#FFFFFF#000000##FFFFFF
##8B47E21.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#776C8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8b47e2;
/* rgb */ color: rgb(139, 71, 226);
/* oklch */ color: oklch(56.3% 0.222 299.2);
Tailwind
colors: {
  custom: {
    50: '#b37fec',
    500: '#8b47e2',
    950: '#000000',
  },
}
SCSS
$custom: #8b47e2;
$custom-light: #b37fec;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47e2",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 266.323,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.22235,
    "h": 299.2
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#8B47E2
secondary
#C6E1A4
accent
#EF389F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B47E2

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

Preview Lab → · Contrast checker → · Palette generator →

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