#8B47DA#8B47DA

#8B47DA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.214 H 300.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8B47DA
RGBrgb(139, 71, 218)
HSLhsl(268, 67%, 57%)
HSVhsv(268, 67%, 85%)
CMYKcmyk(36.2%, 67.4%, 0%, 14.5%)
CIE-LABlab(45.71, 56.70, -64.45)
CIE-LCHlch(45.71, 85.84, 311.34°)
OKLaboklab(55.69% 0.1095 -0.1835)
OKLCHoklch(55.69% 0.214 300.8)
XYZxyz(25.5525, 15.0572, 67.8762)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B47DA #96DA47
analogous
#474DDA #8B47DA #D547DA
triadic
#8B47DA #DA8B47 #47DA8B
tetradic
#8B47DA #DA474D #96DA47 #47DAD5
square
#8B47DA #DA474D #96DA47 #47DAD5
split-complementary
#8B47DA #DAD547 #4DDA47
monochromatic
#4F1C8B #6C26BE #8B47DA #AB7AE4 #CBADEE

Accessibility & contrast

On white

5.24
#8B47DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8B47DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B47DA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B47DA#FFFFFF#000000##FFFFFF
##8B47DA1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#7A698B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8b47da;
/* rgb */ color: rgb(139, 71, 218);
/* oklch */ color: oklch(55.7% 0.214 300.8);
Tailwind
colors: {
  custom: {
    50: '#b37fe6',
    500: '#8b47da',
    950: '#000000',
  },
}
SCSS
$custom: #8b47da;
$custom-light: #b37fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b47da",
  "rgb": {
    "r": 139,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 267.755,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.21373,
    "h": 300.8
  },
  "luminance": 0.15057
}

Semantic roles & 50–950 ramp

primary
#8B47DA
secondary
#C1DCA0
accent
#E93E9A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8B47DA

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

Preview Lab → · Contrast checker → · Palette generator →

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